]> The Tcpdump Group git mirrors - tcpdump/commitdiff
ES-IS,IS-IS: Add two missing return
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 25 May 2018 12:53:08 +0000 (14:53 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 25 May 2018 15:12:45 +0000 (17:12 +0200)
Update the output of some tests accordingly.

print-isoclns.c
tests/esis_snpa_asan-4.out
tests/esis_snpa_asan-5.out
tests/isis-extd-ipreach-oobr.out

index 246b681b0ea3b3d375d2837ac154adf06bba27a1..38bdd833d87b5ff0640a2fcfb5a502fe2b98dabc 100644 (file)
@@ -1386,6 +1386,8 @@ esis_print(netdissect_options *ndo,
                 print_unknown_data(ndo, pptr, "\n\t  ", opli);
             pptr += opli;
         }
+        return;
+
 trunc:
        nd_print_trunc(ndo);
 }
@@ -1408,6 +1410,7 @@ isis_print_mcid(netdissect_options *ndo,
 
   for(i=0;i<16;i++)
     ND_PRINT("%.2x ", mcid->digest[i]);
+  return;
 
 trunc:
   nd_print_trunc(ndo);
index f5f4604ccae49fe21e1f761cfce49be79b6934a6..8c2b32841b9106ac32967e8271db30f547fe37bc 100644 (file)
@@ -7,7 +7,7 @@ UI 22! ES-IS, length 65565
        redirect (6), v: 1, checksum: 0x7034 (incorrect should be 0x44ec), holding time: 21315s, length indicator: 16
          02.0400
          SNPA (length: 0): <empty>
-         Unknown Option #0, length 0, value:  [|esis]
+         Unknown Option #0, length 0, value: 
 UI 32! ES-IS, length 65565
        ESH (2), v: 1, checksum: 0x70a1 (incorrect should be 0xfb4e), holding time: 21315s, length indicator: 17
          Number of Source Addresses: 2
index d54bed3dbf6049aa399de0cb6483bac202d11628..bd8c30dd2a5e37101a79fb03ab2455394fd9993e 100644 (file)
@@ -3,7 +3,7 @@ UI 22! ES-IS, length 65565
          Number of Source Addresses: 3
          NET (length: 0): isonsap_string: illegal length
          NET (length: 4): ec.ff00.00
-         NET (length: 0): isonsap_string: illegal length [|esis]
+         NET (length: 0): isonsap_string: illegal length
 UI 22! ES-IS, length 65565
        redirect (6), v: 1, checksum: 0x7034 (incorrect should be 0x3ff0), holding time: 21315s, length indicator: 17
          04
index 6d16be3d7982bd70e99196b0d338fca721737448..2b323285f67a4915e0b4aea26b3f9bb418f1785b 100644 (file)
@@ -20,9 +20,9 @@
               RES: 0, MTID(s): 0
               SPB MCID subTLV #4, length: 102
                 MCID: ID: 0, Name: IEEEIEEEIEEEIEEEIEEEIEEEIEEEIEEE
-                     Lvl: 18757, Digest: 45 45 49 45 45 45 49 45 45 45 49 45 45 45 49 45  [|isis]
+                     Lvl: 18757, Digest: 45 45 49 45 45 45 49 45 45 45 49 45 45 45 49 45 
                 AUX-MCID: ID: 69, Name: EIEEEIEEEIEEEIEEEIEEEIEEEIEEEIEE
-                     Lvl: 17737, Digest: 45 45 45 49 45 45 45 49 45 45 45 49 45 45 45 49  [|isis]
+                     Lvl: 17737, Digest: 45 45 45 49 45 45 45 49 45 45 45 49 45 45 45 49 
               unknown subTLV #69, length: 69 [|isis]
              0x0000:  0000 0466 0049 4545 4549 4545 4549 4545
              0x0010:  4549 4545 4549 4545 4549 4545 4549 4545