]> The Tcpdump Group git mirrors - tcpdump/commit
refine option parsing a bit
authorGisle Vanem <[email protected]>
Tue, 14 Jan 2014 20:38:16 +0000 (00:38 +0400)
committerDenis Ovsienko <[email protected]>
Tue, 14 Jan 2014 20:40:49 +0000 (00:40 +0400)
commit2808f565a26a953f05d091bb0a6322cbaabc8483
treeb347561fc865b32c2c45ada2765b7eb9ee25344b
parent0f5769df9c34cad23ce2f3a3f6ab9322e8b3c31c
refine option parsing a bit

My wish is to put minimal code inside the getopt() switch. So I've added
a Dflag for option '-D' and a new function show_devices_and_exit().
tcpdump.c