ip: fix interface ip address del sw_if_index check 70/27070/2
authoryedg <yedg@wangsu.com>
Thu, 14 May 2020 02:51:53 +0000 (10:51 +0800)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 20 May 2020 16:34:42 +0000 (16:34 +0000)
commitd3088e94ec7b8745686af0ca838fd1048b0837a8
tree4a5c4e92069539d3246a93f79d29027c01b2f334
parentd6572034438a984a9d8cb2f74124d526041b93f3
ip: fix interface ip address del sw_if_index check

Type: fix

Signed-off-by: Ye donggang <yedg@wangsu.com>
Change-Id: Ia9f72ff2be455ecd4ff3d16e884c5a50f9df69fe
(cherry picked from commit dbd366b239c0506b0d9984e7481967e038f10a23)
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip6_forward.c
src/vnet/ip/ip_interface.c
src/vnet/ip/ip_interface.h
test/test_ip4.py
test/test_ip6.py