diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-01 23:08:23 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-01 23:48:54 +0100 |
commit | d2def296e94a50e74c3ada4002cdfba116688c11 (patch) | |
tree | 47e3707635aa1003c0b8bbdf8c4b50eb121e1fb1 /print-mpls.c | |
parent | d7b497cac78b6e22a66a6bae9bdec60a8044f67a (diff) | |
download | tcpdump-d2def296e94a50e74c3ada4002cdfba116688c11.tar.gz |
Use more the EXTRACT_U_1() macro (41/n)
In: switch (... *(p) ...) ...
Diffstat (limited to 'print-mpls.c')
-rw-r--r-- | print-mpls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-mpls.c b/print-mpls.c index 9d773214..2b287e79 100644 --- a/print-mpls.c +++ b/print-mpls.c @@ -134,7 +134,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length) /* nothing to print */ return; } - switch(*p) { + switch(EXTRACT_U_1(p)) { case 0x45: case 0x46: |