]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
ip: print "temporary" for IPv6 temp addresses
authorBrian Haley <brian.haley@hp.com>
Mon, 14 Sep 2009 21:01:43 +0000 (17:01 -0400)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 9 Feb 2010 19:05:49 +0000 (11:05 -0800)
commita1b9ffccc29f160618d6018d6934d90daa959592
treebfccc78011bb0cafdbbc2df4d156c6638c0f7763
parent63a0f20ac1fb2b98b6e68531b67ad83f09bbd272
ip: print "temporary" for IPv6 temp addresses

IPv6 addresses that have IFA_F_SECONDARY set are actually temporary addresses,
hence the IFA_F_TEMPORARY equivalent.  Change the output in this case and
allow filtering on the word "temporary".

Signed-off-by: Brian Haley <brian.haley@hp.com>
ip/ipaddress.c
man/man8/ip.8