diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2020-01-14 06:11:42 -0500 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-01-21 10:25:32 +0000 |
commit | 54eda4bcb80cfbaee16b26fad521d6ead5e0a518 (patch) | |
tree | bf213851355b8b898b39a7d296582c8a3c3b4ef3 /extras/nsim | |
parent | 2b4e7401499cdc7d51dec027745e0228d3f07b64 (diff) |
nat: fix dhcp client on outside interface with output feature
There was an attempt to fix this problem in the commit:
d3b8c861a44e70c197ab721fa3ce7f38bbeab7fd
But checking the LOCALLY_ORIGINATED flag didn't work because this flag
gets reset before it can reach the NAT nodes.
With this commit, replace the check for the LOCALLY_ORIGINATED flag
with a check to see if the packet is a DHCP broadcast.
Type: fix
Change-Id: I069c08a785b5988b10192f528e4f9c4c7cc2f8a3
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'extras/nsim')
0 files changed, 0 insertions, 0 deletions