]> 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]>
Wed, 6 May 2015 03:32:56 +0000 (05:32 +0200)
print-icmp6.c

index 553bb46ee23a891e9c0232e8565557e39376be0f..3b712337f272eacb361772d22f9edd36482ba09a 100644 (file)
@@ -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;