diff options
author | Michael Richardson <mcr@sandelman.ca> | 2014-01-01 21:27:54 -0500 |
---|---|---|
committer | Michael Richardson <mcr@sandelman.ca> | 2014-01-01 21:31:18 -0500 |
commit | a97fb2f3ae9731dd13e6854742c090ca9ef454cf (patch) | |
tree | f0eecb0f7bbc0d6f32f9ef310bdd19cab32d1345 /print-atm.c | |
parent | 35c5cd9911f3fcc385e4a04c31016c253ee7a426 (diff) | |
download | tcpdump-a97fb2f3ae9731dd13e6854742c090ca9ef454cf.tar.gz |
whitespace changes
Diffstat (limited to 'print-atm.c')
-rw-r--r-- | print-atm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print-atm.c b/print-atm.c index 0327b0d4..f75f8ab6 100644 --- a/print-atm.c +++ b/print-atm.c @@ -261,7 +261,7 @@ sig_print(const u_char *p, int caplen) } if (p[PROTO_POS] == Q2931) { /* - * protocol:Q.2931 for User to Network Interface + * protocol:Q.2931 for User to Network Interface * (UNI 3.1) signalling */ printf("Q.2931"); @@ -353,7 +353,7 @@ struct oam_fm_ais_rdi_t { u_int8_t unused[28]; }; -int +int oam_print (const u_char *p, u_int length, u_int hec) { u_int32_t cell_header; @@ -444,7 +444,7 @@ oam_print (const u_char *p, u_int length, u_int hec) { cksum = EXTRACT_16BITS(p + OAM_CELLTYPE_FUNCTYPE_LEN + OAM_FUNCTION_SPECIFIC_LEN) & OAM_CRC10_MASK; cksum_shouldbe = verify_crc10_cksum(0, p, OAM_PAYLOAD_LEN); - + printf("\n\tcksum 0x%03x (%scorrect)", cksum, cksum_shouldbe == 0 ? "" : "in"); |