diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-02-16 02:44:05 -0800 |
---|---|---|
committer | Neale Ranns <neale.ranns@cisco.com> | 2018-02-16 02:44:08 -0800 |
commit | c819fc612f9a79eaba2981dc2e8f7c31552db5ea (patch) | |
tree | ba19a3f7b2f223ebd28e3fe87ad5f73ef81d9745 /src/vnet/interface.c | |
parent | 25d417f28680c78a709792d997884dd80227bb70 (diff) |
Allow providers to override glean behaviour
and update glean address on local interface MAC change
Change-Id: I530826d60c7e9db2b0fa2d45754139d82c5ea807
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/interface.c')
-rw-r--r-- | src/vnet/interface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c index 7516aec0e71..b197aa1e073 100644 --- a/src/vnet/interface.c +++ b/src/vnet/interface.c @@ -1453,8 +1453,10 @@ default_update_adjacency (vnet_main_t * vnm, u32 sw_if_index, u32 ai) switch (adj->lookup_next_index) { - case IP_LOOKUP_NEXT_ARP: case IP_LOOKUP_NEXT_GLEAN: + adj_glean_update_rewrite (ai); + break; + case IP_LOOKUP_NEXT_ARP: /* * default rewirte in neighbour adj */ |