summaryrefslogtreecommitdiffstats
path: root/extras/emacs/plugin-node-skel.el
diff options
context:
space:
mode:
Diffstat (limited to 'extras/emacs/plugin-node-skel.el')
-rw-r--r--extras/emacs/plugin-node-skel.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/emacs/plugin-node-skel.el b/extras/emacs/plugin-node-skel.el
index 1c4b0a072b1..3c10bdf628c 100644
--- a/extras/emacs/plugin-node-skel.el
+++ b/extras/emacs/plugin-node-skel.el
@@ -75,10 +75,11 @@ static u8 * format_" plugin-name "_trace (u8 * s, va_list * args)
format_mac_address, t->new_dst_mac);
return s;
}
-#endif /* CLIB_MARCH_VARIANT */
vlib_node_registration_t " plugin-name "_node;
+#endif /* CLIB_MARCH_VARIANT */
+
#define foreach_" plugin-name "_error \\
_(SWAPPED, \"Mac swap packets processed\")