diff options
-rw-r--r-- | dissector_sll.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dissector_sll.c b/dissector_sll.c index c9202df..a69a6a4 100644 --- a/dissector_sll.c +++ b/dissector_sll.c @@ -44,12 +44,12 @@ static void sll_print_full(struct pkt_buff *pkt) sll = pkt->sll; tprintf(" [ Linux \"cooked\""); tprintf(" Pkt Type %d (%s)", sll->sll_pkttype, - pkt_type2str(sll->sll_pkttype)); + pkt_type2str(sll->sll_pkttype)); tprintf(", If Type %d (%s)", sll->sll_hatype, - device_type2str(sll->sll_hatype)); + device_type2str(sll->sll_hatype)); tprintf(", Addr Len %d", sll->sll_halen); tprintf(", Src (%s)", device_addr2str(sll->sll_addr, sll->sll_halen, - sll->sll_hatype, addr_str, sizeof(addr_str))); + sll->sll_hatype, addr_str, sizeof(addr_str))); tprintf(", Proto 0x%x", ntohs(sll->sll_protocol)); tprintf(" ]\n"); @@ -63,7 +63,7 @@ static void sll_print_full(struct pkt_buff *pkt) pkt->dissector = &nlmsg_ops; break; default: - tprintf(" [ Uknown protocol ]\n"); + tprintf(" [ Unknown protocol ]\n"); } } @@ -77,12 +77,12 @@ static void sll_print_less(struct pkt_buff *pkt) sll = pkt->sll; tprintf(" Pkt Type %d (%s)", sll->sll_pkttype, - pkt_type2str(sll->sll_pkttype)); + pkt_type2str(sll->sll_pkttype)); tprintf(", If Type %d (%s)", sll->sll_hatype, - device_type2str(sll->sll_hatype)); + device_type2str(sll->sll_hatype)); tprintf(", Addr Len %d", sll->sll_halen); tprintf(", Src (%s)", device_addr2str(sll->sll_addr, sll->sll_halen, - sll->sll_hatype, addr_str, sizeof(addr_str))); + sll->sll_hatype, addr_str, sizeof(addr_str))); tprintf(", Proto 0x%x", ntohs(sll->sll_protocol)); } |