]> 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:30:41 +0000 (05:30 +0200)
print-icmp6.c

index 0af02a1207217f4847819e2648d429a33a84a39a..d119a0a84d4f7e43cfd2a7c2f70dadf02ac2e330 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;