Package: apticron
Version: 1.2.1
Severity: minor
Tags: patch

No reason to include temporary, deprecated, tentative, or failed IPv6 addresses in output.

diff -u /usr/sbin/apticron /tmp/apticron
--- /usr/sbin/apticron  2018-08-22 04:19:31.000000000 +1200
+++ /tmp/apticron       2019-08-21 23:29:16.703946937 +1200
@@ -90,7 +90,7 @@
             /usr/bin/cut -d/ -f1) || true`

        # Set the IPv6 addresses
-       IPADDRESSES="$IPADDRESSES `/sbin/ip -f inet6 addr show scope global 2> 
/dev/null | \
+       IPADDRESSES="$IPADDRESSES `/sbin/ip -f inet6 addr show scope global 
-deprecated -dadfailed -temporary -tentative 2> /dev/null | \
                                   /bin/grep "scope global" | \
                                   /usr/bin/head -$IPADDRESSNUM |\
                                   /usr/bin/awk '{ print $2 }' |\

--
System Information:
Debian Release: bullseye/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apticron depends on:
ii  apt                 1.8.3
ii  bsd-mailx [mailx]   8.1.2-0.20180807cvs-1+b1
ii  bzip2               1.0.6-9.2
ii  cron [cron-daemon]  3.0pl1-134
ii  dpkg                1.19.7
ii  ucf                 3.0038+nmu1

Versions of packages apticron recommends:
ii  apt-listchanges  3.20
ii  gpg              2.2.17-3
ii  iproute2         5.2.0-1

apticron suggests no packages.

--
Configuration Files:
/etc/apticron/apticron.conf changed [not included]

--
debconf information excluded


--
.''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
 `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to