diff options
author | Ole Troan <ot@cisco.com> | 2020-09-14 12:21:13 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-09-14 13:06:21 +0000 |
commit | 9459d65ba43c36b3e4117e0df9d07f8e9e2babd1 (patch) | |
tree | 77a4c7539622987d77c5cebf7406d7660e12b62d /src/plugins/nat/dslite/dslite.h | |
parent | b509504e6b6eb8590d2d7dad2447c1bd933ce94c (diff) |
nat: delay datastructure allocation until configured
The dslite plugin would on plugin load initialize large bihash datastructures.
Postpone until configured.
Type: improvement
Change-Id: Ie790ab8c5fc39fac18153acd54dcd051805e763a
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/nat/dslite/dslite.h')
-rw-r--r-- | src/plugins/nat/dslite/dslite.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nat/dslite/dslite.h b/src/plugins/nat/dslite/dslite.h index 8cb73d88409..3c798bf54fe 100644 --- a/src/plugins/nat/dslite/dslite.h +++ b/src/plugins/nat/dslite/dslite.h @@ -127,6 +127,7 @@ typedef struct * otherwise it behaves as AFTR */ u8 is_ce; + u8 is_enabled; u16 msg_id_base; } dslite_main_t; |