diff options
author | Damjan Marion <damarion@cisco.com> | 2019-09-02 19:00:33 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-09-02 18:26:43 +0000 |
commit | d770cfc96257f9bd9e0c96c8ebe50e4531dc1bc5 (patch) | |
tree | 8cc286c93f258bb30076d177389618c0e729c10d /src/vnet/ip | |
parent | dd0cc9ec3df81485f19fc6b1126d0b4307bf9fa4 (diff) |
ipsec ip tcp l2: multiarch nodes cannot be declared as static
Credits to ray.kinsella@intel.com who spotted the issue and identified
root cause.
Type: fix
Change-Id: I4afe74c47769484309f6aebca2de56ad32c8041f
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/ip')
-rw-r--r-- | src/vnet/ip/ip4_reassembly.c | 2 | ||||
-rw-r--r-- | src/vnet/ip/ip6_reassembly.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ip/ip4_reassembly.c b/src/vnet/ip/ip4_reassembly.c index 59170354412..682cad965af 100644 --- a/src/vnet/ip/ip4_reassembly.c +++ b/src/vnet/ip/ip4_reassembly.c @@ -1526,7 +1526,7 @@ ip4_reass_walk_expired (vlib_main_t * vm, } /* *INDENT-OFF* */ -VLIB_REGISTER_NODE (ip4_reass_expire_node, static) = { +VLIB_REGISTER_NODE (ip4_reass_expire_node) = { .function = ip4_reass_walk_expired, .type = VLIB_NODE_TYPE_PROCESS, .name = "ip4-reassembly-expire-walk", diff --git a/src/vnet/ip/ip6_reassembly.c b/src/vnet/ip/ip6_reassembly.c index a5e106a9445..4f27304ca94 100644 --- a/src/vnet/ip/ip6_reassembly.c +++ b/src/vnet/ip/ip6_reassembly.c @@ -1530,7 +1530,7 @@ ip6_reass_walk_expired (vlib_main_t * vm, } /* *INDENT-OFF* */ -VLIB_REGISTER_NODE (ip6_reass_expire_node, static) = { +VLIB_REGISTER_NODE (ip6_reass_expire_node) = { .function = ip6_reass_walk_expired, .format_trace = format_ip6_reass_trace, .type = VLIB_NODE_TYPE_PROCESS, |