]> The Tcpdump Group git mirrors - tcpdump/commitdiff
RPL: Fix suboption print
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 4 May 2015 21:05:23 +0000 (23:05 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 4 May 2015 21:05:23 +0000 (23:05 +0200)
print-icmp6.c

index 4584f5a473bbd957e1276560960174053c75616c..19bf206dead85ba32a9a8b34485876deb9579f88 100644 (file)
@@ -686,7 +686,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;