diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2020-01-23 08:09:40 -0500 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-01-30 11:03:31 +0000 |
commit | 56817e2c486a26167783676774b0dea9c103b200 (patch) | |
tree | b88a51c9bdfcdb4ca0859e9b2ae4a4a9315c6f2d /src/plugins/map/map.h | |
parent | 78b58f65f1c94d7a5efbf191b4a6e8b6cc12ae66 (diff) |
map: handle ip4 ttl=1 packets in map-t
With this commit, ICMP Time Exceeded is sent to sender when TTL
expires at MAP BR.
Type: fix
Change-Id: I8effe163beab32596883127b819308cc355512c3
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'src/plugins/map/map.h')
-rw-r--r-- | src/plugins/map/map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/map/map.h b/src/plugins/map/map.h index 9581bd50fac..1f51a59aa2e 100644 --- a/src/plugins/map/map.h +++ b/src/plugins/map/map.h @@ -225,7 +225,8 @@ typedef struct _(FRAGMENT_MALFORMED, "fragment has unexpected format")\ _(FRAGMENT_DROPPED, "dropped cached fragment") \ _(MALFORMED, "malformed packet") \ - _(DF_SET, "can't fragment, DF set") + _(DF_SET, "can't fragment, DF set") \ + _(TIME_EXCEEDED, "time exceeded") \ typedef enum { |