diff options
author | John Lo <loj@cisco.com> | 2017-02-28 13:10:52 -0500 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-02-28 21:59:13 +0000 |
commit | 7100b9cc6f1342a320c372bf746ae85cf815c41b (patch) | |
tree | 9dbc8a297ef13d196476d8286c099a712963c286 /src/vnet/interface_cli.c | |
parent | c47ed032c6d036a9f942fc9ced48874fad55b48c (diff) |
Clear L2 output config on interface mode change to L3 (VPP-651)
With VPP-651, the L2 output config with L2-tag rewrite was not
cleared when a sub-interface is deleted. Subsequently, when the
same sw_if_index was reused for another interface, the L2 output
config with L2-tag rewrite remained on the new interface.
On deleting a (sub-)interface which is in L2 mode, it will be
changed to L3 mode first to clear any L2 config. The L2 to L3 mode
change path did address L2 input config cleanup. It is now fixed
to also clear L2 output config.
Change-Id: I3352a89d92e1b27340a5adcf75bbaa01a5050c29
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vnet/interface_cli.c')
0 files changed, 0 insertions, 0 deletions