ip: do not clear the locally-originated flag 28/26428/1
authorNeale Ranns <nranns@cisco.com>
Wed, 8 Apr 2020 12:28:06 +0000 (08:28 -0400)
committerNeale Ranns <nranns@cisco.com>
Wed, 8 Apr 2020 12:28:06 +0000 (08:28 -0400)
commit88cecfad98d2e8b32e68b90538c2c4cb906eb204
treec204b4bab7db1b06023688668c172b9d445e04ae
parentf18f09b16b02f3b136be0794a3de5f9ef6e6f651
ip: do not clear the locally-originated flag

Type: fix

 - doing so in MTU dec, means mtu_inc is broken
 - there's no need to. if a packet encounters ipX-rewrite a second time then it went through a tunnel the first time and is still locally originated.

Change-Id: I0f279c2837b608c1677485fe93f63398ab2737b3
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip6_forward.c