summaryrefslogtreecommitdiff
path: root/print-nsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-nsh.c')
-rw-r--r--print-nsh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/print-nsh.c b/print-nsh.c
index 5ece5b5e..fc129200 100644
--- a/print-nsh.c
+++ b/print-nsh.c
@@ -62,6 +62,7 @@ nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
uint8_t tlv_len;
u_int next_len;
+ ndo->ndo_protocol = "nsh";
/* print Base Header and Service Path Header */
if (len < NSH_BASE_HDR_LEN + NSH_SERVICE_PATH_HDR_LEN)
goto trunc;