]> git.ipfire.org Git - thirdparty/iproute2.git/commit
Fix display of xfrm
authorThomas Egerer <hakke_007@gmx.de>
Tue, 14 Apr 2009 23:15:17 +0000 (16:15 -0700)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 14 Apr 2009 23:15:17 +0000 (16:15 -0700)
commitb9ab720e33748cd022f095620e75ca7eba24a965
tree0df713ea442e1f81c3ad8dcac761a3cb0658ba11
parentff213c4bf2df55e955a7dc4cce89bdbfa6bb2289
Fix display of xfrm

When using iproute2 to display information on policies installed in kernel
(ip x p s) output is incorrect: IPv6 addresses printed as IPv4 addresses.
In case I am dealing with inter protocol policies where the template's address
family differs from those of the policy itself.
The patch attached solves this problem.
ip/ipxfrm.c