summaryrefslogtreecommitdiffstats
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-01-08 17:11:53 +0000
committerglebius <glebius@FreeBSD.org>2012-01-08 17:11:53 +0000
commit06fc76befdf27de04ad778d3a609e2b888f03a92 (patch)
tree9065d86956c29c3fff579e2d0a0b6ea1020e9ee7 /sys/net/rtsock.c
parentf99edf0f86987cda4cc1999771966c5abd3bc94e (diff)
downloadFreeBSD-src-06fc76befdf27de04ad778d3a609e2b888f03a92.zip
FreeBSD-src-06fc76befdf27de04ad778d3a609e2b888f03a92.tar.gz
Copy ifa->if_data to ifam->ifam_data. This was forgotten in r228571.
Submitted by: bz
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index acc4817..4da2e1b 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1606,6 +1606,7 @@ sysctl_iflist(int af, struct walkarg *w)
ifam->ifam_flags = ifa->ifa_flags;
ifam->ifam_metric = ifa->ifa_metric;
ifam->ifam_addrs = info.rti_addrs;
+ ifam->ifam_data = ifa->if_data;
if (carp_get_vhid_p != NULL)
ifam->ifam_data.ifi_vhid =
(*carp_get_vhid_p)(ifa);
OpenPOWER on IntegriCloud