summaryrefslogtreecommitdiffstats
path: root/src/vnet/arp/arp.c
diff options
context:
space:
mode:
authorMercury <mercury124185@gmail.com>2021-12-12 08:45:38 +0800
committerMercury <mercury124185@gmail.com>2021-12-12 08:45:38 +0800
commitd08920612612322e4ecfd3a2e097526818fce5f4 (patch)
tree3260c1866874a3c1690a2fd3449b91de193b68ce /src/vnet/arp/arp.c
parent8ade4a568a51db6f38d7b0508484d433af21f7a1 (diff)
arp: fix arp_vft callback
arp proxy is not enabled correctly by ip4_neighbor_proxy_enable() Type: fix Signed-off-by: Mercury <mercury124185@gmail.com> Change-Id: I672b5d4a9652030b5604e9d39743c39cb93a2531
Diffstat (limited to 'src/vnet/arp/arp.c')
-rw-r--r--src/vnet/arp/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/arp/arp.c b/src/vnet/arp/arp.c
index ced3c1cb7a7..a2292f1c922 100644
--- a/src/vnet/arp/arp.c
+++ b/src/vnet/arp/arp.c
@@ -870,7 +870,7 @@ VNET_SW_INTERFACE_ADD_DEL_FUNCTION (vnet_arp_add_del_sw_interface);
const static ip_neighbor_vft_t arp_vft = {
.inv_proxy4_add = arp_proxy_add,
.inv_proxy4_del = arp_proxy_del,
- .inv_proxy4_enable = arp_proxy_disable,
+ .inv_proxy4_enable = arp_proxy_enable,
.inv_proxy4_disable = arp_proxy_disable,
};