Add a nd_print_trunc() call

Update the output of some tests accordingly.
This commit is contained in:
Francois-Xavier Le Bail 2018-05-17 13:59:05 +02:00
parent d07444a5f2
commit 15ad390859
6 changed files with 6 additions and 6 deletions

View File

@ -509,5 +509,5 @@ stp_print(netdissect_options *ndo, const u_char *p, u_int length)
return;
trunc:
ND_PRINT("[|stp %u]", length);
nd_print_trunc(ndo);
}

View File

@ -24,4 +24,4 @@
0x0000: 3030 3030 30 00000
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
0x0000: 3030 3030 30 00000
[|stp 262127]
[|stp]

View File

@ -24,4 +24,4 @@
0x0000: 3030 3030 3030 000000
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
0x0000: 3030 3030 3030 000000
STP 802.1d[|stp 262127]
STP 802.1d [|stp]

View File

@ -24,4 +24,4 @@
0x0000: 3030 30 000
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
0x0000: 3030 30 000
[|stp 262127]
[|stp]

View File

@ -24,4 +24,4 @@
0x0000: 3030 3030 3030 3030 00000000
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
0x0000: 3030 3030 3030 3030 00000000
STP 802.1d, Config, Flags [Learn, Forward][|stp 262127]
STP 802.1d, Config, Flags [Learn, Forward] [|stp]

View File

@ -1 +1 @@
STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 262127[|stp 262127]
STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 262127 [|stp]