From 820d8f23af148240e0266967ee460098a4855d94 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 21 Jul 2015 09:24:53 +0200 Subject: netsniff-ng: dissector_sll: Fix indentation and typo Fix indentation for multiline function calls and correct a typo in the same area. Signed-off-by: Tobias Klauser --- dissector_sll.c | 14 +++++++------- 1 file 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)); } -- cgit v1.2.3-54-g00ecf