Cool, hopefully will help some people From: Richard Patterson [mailto:rich...@helix.net.nz] Sent: 01 December 2014 13:14 To: 704...@bugs.debian.org Subject: Bug#704467: Suppress deprecated address
On Fri, 22 Aug 2014 16:36:53 +0200 Andreas Feldner <pe...@flying-snail.de<mailto:pe...@flying-snail.de>> wrote: > Over one year gone I found a bug in your patch: for the if method, you need > to add " | grep -v deprecated" to the filter of the ip command. BTW, wise > decision to use ip rather than ifconfig: you have no chance with the former, > afaik. > > Cheers and thanks for the patch! > Andreas. > Instead of " | grep -v deprecated”, I’ve chosen to use "|grep -v temporary | grep -v "inet6 f[cd]"" to exclude all privacy extension and ULA addresses, which should leave you with the EUI64 address. At least in Ubuntu. Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of British Sky Broadcasting Group plc and Sky International AG and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.