aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-01-28 22:40:42 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-05 17:42:36 -0800
commitf074ec5cf9f5487655055a9036ef2ebfa6288af1 (patch)
treebdb18a9167c5517455c97bc1714899daf10da404 /pcap-linux.c
parent8433f5cea8145ae1c3bfd7d4e2ea202454f9e9fe (diff)
Eliminate some unneeded variables and move some comments.
Eliminate orig_linktype; we were setting it but never using it. Eliminnte orig_nl; we were setting it, but in the only places where we were using it, it had the same value as off_nl, so just use off_nl. Move some comments next to the code to which they're actually referring (don't speak of changing offsets before we actually change the offsets).
Diffstat (limited to 'pcap-linux.c')
0 files changed, 0 insertions, 0 deletions