From: Francois-Xavier Le Bail Date: Mon, 4 May 2015 21:05:23 +0000 (+0200) Subject: RPL: Fix suboption print X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/3859fcb942e386368e654bf291d7007dc8ca36cf RPL: Fix suboption print --- diff --git a/print-icmp6.c b/print-icmp6.c index 0af02a12..d119a0a8 100644 --- a/print-icmp6.c +++ b/print-icmp6.c @@ -687,7 +687,7 @@ rpl_dio_printopt(netdissect_options *ndo, ND_PRINT((ndo, " opt:pad0")); } else { ND_PRINT((ndo, " opt:%s len:%u ", - tok2str(rpl_subopt_values, "%subopt:%u", opt->rpl_dio_type), + tok2str(rpl_subopt_values, "subopt:%u", opt->rpl_dio_type), optlen)); if(ndo->ndo_vflag > 2) { unsigned int paylen = opt->rpl_dio_len;