diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-11-08 17:17:57 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-11-08 17:17:57 +0000 |
commit | 5a0809c718374e0162afb1fc1df8497f942d18fc (patch) | |
tree | fc7c486e0f93038e1f473a6bf60fc76a8610b782 /wiretap/nettl.c | |
parent | 6159e98cd38ba8afa4e6587b75dfd82250357fd1 (diff) |
(Trivial) whitespace cleanup (mostly trailing whitespace).
svn path=/trunk/; revision=53172
Diffstat (limited to 'wiretap/nettl.c')
-rw-r--r-- | wiretap/nettl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/nettl.c b/wiretap/nettl.c index 07f9282863..6c0d9e11c2 100644 --- a/wiretap/nettl.c +++ b/wiretap/nettl.c @@ -523,7 +523,7 @@ nettl_read_rec(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr, Buffer *buf, return FALSE; } - length = pntohs(&drv_eth_hdr.length); + length = pntohs(&drv_eth_hdr.length); caplen = pntohs(&drv_eth_hdr.caplen); /* * XXX - is there a length field that would give the length @@ -785,7 +785,7 @@ static gboolean nettl_dump(wtap_dumper *wdh, case WTAP_ENCAP_TOKEN_RING: rec_hdr.subsys = g_htons(NETTL_SUBSYS_PCI_TR); break; -/* +#if 0 case WTAP_ENCAP_NETTL_X25: rec_hdr.caplen = g_htonl(phdr->caplen + 24); rec_hdr.length = g_htonl(phdr->len + 24); @@ -795,7 +795,7 @@ static gboolean nettl_dump(wtap_dumper *wdh, rec_hdr.pid = g_htonl(pseudo_header->nettl.pid); rec_hdr.uid = g_htons(pseudo_header->nettl.uid); break; -*/ +#endif default: /* found one we don't support */ *err = WTAP_ERR_UNSUPPORTED_ENCAP; |