Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ikev2: add support for custom ipsec-over-udp port
[vpp.git]
/
src
/
vnet
/
l2
/
l2_patch.c
diff --git
a/src/vnet/l2/l2_patch.c
b/src/vnet/l2/l2_patch.c
index
6109228
..
fb8849d
100644
(file)
--- a/
src/vnet/l2/l2_patch.c
+++ b/
src/vnet/l2/l2_patch.c
@@
-49,7
+49,11
@@
format_l2_patch_trace (u8 * s, va_list * args)
return s;
}
-static l2_patch_main_t l2_patch_main;
+#ifndef CLIB_MARCH_VARIANT
+l2_patch_main_t l2_patch_main;
+#else
+extern l2_patch_main_t l2_patch_main;
+#endif
extern vlib_node_registration_t l2_patch_node;