map: fix DF[Don't fragment] ip4-map-t behaviour 33/22333/8
authorVladimir Ratnikov <vratnikov@netgate.com>
Fri, 27 Sep 2019 07:26:49 +0000 (03:26 -0400)
committerOle Trøan <otroan@employees.org>
Thu, 3 Oct 2019 09:51:52 +0000 (09:51 +0000)
commitd6d50cebde647f9a5ee7251a7fef977506f315d7
tree294498e724d372ffce046edc67c4fd813f48adac
parentcfca8451f461f65532c75a498bf1bf1056c3af2a
map: fix DF[Don't fragment] ip4-map-t behaviour

This patch allows ip4-map-t plugin to drop
packets if DF flag is set and packet size
is bigger than MTU

Type: fix

Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
Change-Id: I0c1531a1f876d9efc8e7e2bff9804f298becdb68
src/plugins/map/ip4_map_t.c