diff options
author | jamal <hadi@cyberus.ca> | 2007-02-25 11:55:19 -0500 |
---|---|---|
committer | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-03-13 14:39:05 -0700 |
commit | b64f58b01354a1cfdc56f9617aabc9997f9fb01e (patch) | |
tree | fc973a60042f7118dbb035318b752f9f9ddceede /ip/rtmon.c | |
parent | e309c5fa6adf7c48074a08126721838ad4ea2749 (diff) |
update rest to use nl_mgrp
cheers,
jamal
[ALL] update rest to use nl_mgrp
Signed-off-by: J Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Diffstat (limited to 'ip/rtmon.c')
-rw-r--r-- | ip/rtmon.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -134,18 +134,18 @@ main(int argc, char **argv) exit(-1); } if (llink) - groups |= RTMGRP_LINK; + groups |= nl_mgrp(RTNLGRP_LINK); if (laddr) { if (!family || family == AF_INET) - groups |= RTMGRP_IPV4_IFADDR; + groups |= nl_mgrp(RTNLGRP_IPV4_IFADDR); if (!family || family == AF_INET6) - groups |= RTMGRP_IPV6_IFADDR; + groups |= nl_mgrp(RTNLGRP_IPV6_IFADDR); } if (lroute) { if (!family || family == AF_INET) - groups |= RTMGRP_IPV4_ROUTE; + groups |= nl_mgrp(RTNLGRP_IPV4_ROUTE); if (!family || family == AF_INET6) - groups |= RTMGRP_IPV6_ROUTE; + groups |= nl_mgrp(RTNLGRP_IPV6_ROUTE); } fp = fopen(file, "w"); |