diff options
author | Matthew Smith <mgsmith@netgate.com> | 2019-08-07 11:46:30 -0500 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-08-12 16:50:54 +0000 |
commit | 6c92f5babdc3c52cf343509fc9cf9d8a9a3df390 (patch) | |
tree | 969249e9836e232929949492f3f45ac5c1deba35 /src/vppinfra/test_random.c | |
parent | 79c04d622a55b75de969bf010cdcb820ccfbe816 (diff) |
ip: allow addrs from the same prefix on intf
Type: feature
Adding a prefix to an interface was not permitted if it overlapped
with another prefix on an interface which used the same FIB.
Loosen the restriction. Allow 2 or more addresses from the same
prefix on a single interface. Reference count the prefix to figure
out when a glean/connected route for the prefix needs to be added
or removed.
Added unit tests to check that the route is only removed when all
addresses in the prefix are removed from the interface.
Change-Id: I1a962ecb5e1ee65fc6d41f98a4cc097a51a55321
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/vppinfra/test_random.c')
0 files changed, 0 insertions, 0 deletions