Copy ifa->if_data to ifam->ifam_data. This was forgotten in r228571.

Submitted by:	bz
This commit is contained in:
glebius 2012-01-08 17:11:53 +00:00
parent f99edf0f86
commit 06fc76befd

View File

@ -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);