]> The Tcpdump Group git mirrors - tcpdump/commit
GRE: Print the protocol name before any ND_LCHECK_U()/GET_()
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 26 Dec 2021 10:46:22 +0000 (11:46 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 26 Dec 2021 10:55:34 +0000 (11:55 +0100)
commit82f988c554396ba72ed67e848c74f215cbfc6dd7
tree05768403e6a202693fb35005fe6f8632debfe9d1
parent59973479eb4f3687aac1ca0fb23ca45604d2b2f2
GRE: Print the protocol name before any ND_LCHECK_U()/GET_()

This change will print the protocol name even if the length is invalid
or if the packet is truncated at the beginning.
Use nd_print_protocol_caps().

Moreover:
Remove an useless variable.
print-gre.c