commit | 29cc864089ac311d1819d609e372b8f2083b3ec7 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Tue Dec 17 22:26:56 2013 -0800 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Tue Dec 17 22:32:58 2013 -0800 |
tree | 973c9e2d8a0b63a45463aff762c538dd2ec65c7a | |
parent | ec69a50cc8e41b3b7386cd4faadb0fb4c30dedb1 [diff] [blame] |
netconf: add support for neighbor proxy attribute Report changes to proxy_arp/proxy_ndp attribute.
diff --git a/ip/ipnetconf.c b/ip/ipnetconf.c index 9a77ecb..7353f59 100644 --- a/ip/ipnetconf.c +++ b/ip/ipnetconf.c
@@ -114,6 +114,10 @@ fprintf(fp, "mc_forwarding %d ", *(int *)RTA_DATA(tb[NETCONFA_MC_FORWARDING])); + if (tb[NETCONFA_PROXY_NEIGH]) + fprintf(fp, "proxy_neigh %s ", + *(int *)RTA_DATA(tb[NETCONFA_PROXY_NEIGH])?"on":"off"); + fprintf(fp, "\n"); fflush(fp); return 0;