#endif
#ifdef DLT_DSA_TAG_BRCM_PREPEND
{ brcm_tag_prepend_if_print, DLT_DSA_TAG_BRCM_PREPEND },
+#endif
+#ifdef DLT_VSOCK
+ { vsock_if_print, DLT_VSOCK },
#endif
{ NULL, 0 },
};
ND_PRINT(" [|%s]", ndo->ndo_protocol);
}
+ /*
+ * Free all pushed buffers; if we got here by a printer quitting,
+ * we need to release anything that didn't get released because
+ * we longjmped out of the code before it popped a buffer.
+ */
+ nd_pop_all_buffers(ndo);
+
/*
* Restore the original snapend, as a printer might have
* changed it.