Matthew Smith 01930f568a nat: report correct EI per-user session limit
Type: fix

When enabling the endpoint independent NAT44 plugin, user_sessions
determines the maximum number of translations that can be active for
a single inside address. If 0 is passed in, a default value is used
but 0 is still stored in the field that is used to populate reply
messages to nat44_ei_show_running_config,

At the time of enabling the plugin, if user_sessions is 0, update the
field which is used by nat44_ei_show_running_config to contain the
default per-user limit which gets used by the EI nodes.

Change-Id: I6b060d85bcd42d91db879b95a8b07c6844bcd2a5
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2021-05-25 13:12:01 +00:00
..
2021-05-13 09:33:06 +00:00
2021-04-26 23:26:03 +02:00
2021-05-13 09:33:06 +00:00
2021-04-16 09:26:33 +00:00
2021-05-21 15:21:01 +00:00
2021-04-16 09:26:33 +00:00
2021-05-13 09:33:06 +00:00
2021-04-16 09:26:33 +00:00
2021-04-16 09:26:33 +00:00
2021-05-21 21:06:34 +00:00
2021-01-07 15:48:43 +00:00
2021-05-13 09:33:06 +00:00
2021-04-16 09:26:33 +00:00
2021-05-13 09:33:06 +00:00
2021-02-15 17:27:48 +00:00
2021-03-05 10:34:55 +00:00
2021-05-13 09:33:06 +00:00
2021-04-09 21:12:46 +00:00
2021-02-19 10:48:20 +00:00