diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-15 15:29:46 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-15 15:32:15 +0400 |
commit | d1cffd99e6487cc1c2f2dbbc6ea4cc60c36226c7 (patch) | |
tree | fbe627096868b3776b9ae136a61feee4d256d40a /print-juniper.c | |
parent | 0eacc9a0ddf65187e616dad76afb59ff03d83c88 (diff) | |
download | tcpdump-d1cffd99e6487cc1c2f2dbbc6ea4cc60c36226c7.tar.gz |
NDOize LLC decoder
Diffstat (limited to 'print-juniper.c')
-rw-r--r-- | print-juniper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-juniper.c b/print-juniper.c index ce515d7d..8a697901 100644 --- a/print-juniper.c +++ b/print-juniper.c @@ -929,7 +929,7 @@ juniper_atm1_print(const struct pcap_pkthdr *h, register const u_char *p) if (EXTRACT_24BITS(p) == 0xfefe03 || /* NLPID encaps ? */ EXTRACT_24BITS(p) == 0xaaaa03) { /* SNAP encaps ? */ - if (llc_print(p, l2info.length, l2info.caplen, NULL, NULL, + if (llc_print(gndo, p, l2info.length, l2info.caplen, NULL, NULL, &extracted_ethertype) != 0) return l2info.header_len; } @@ -977,7 +977,7 @@ juniper_atm2_print(const struct pcap_pkthdr *h, register const u_char *p) if (EXTRACT_24BITS(p) == 0xfefe03 || /* NLPID encaps ? */ EXTRACT_24BITS(p) == 0xaaaa03) { /* SNAP encaps ? */ - if (llc_print(p, l2info.length, l2info.caplen, NULL, NULL, + if (llc_print(gndo, p, l2info.length, l2info.caplen, NULL, NULL, &extracted_ethertype) != 0) return l2info.header_len; } |