If a filter isn't specified, don't try to do any filtering
authorNathan Binkert <binkertn@umich.edu>
Sun, 2 Nov 2003 07:13:04 +0000 (02:13 -0500)
committerNathan Binkert <binkertn@umich.edu>
Sun, 2 Nov 2003 07:13:04 +0000 (02:13 -0500)
commit03ef1a0c0938c596ea5dc48e11c111d2c5c78903
treecf46f0e1145a4b5357b92738ee6bfa0d6ec360c7
parentc7d6745b073982782eb05ca523b53e1c7fe784da
If a filter isn't specified, don't try to do any filtering
If pcap_lookupnet fails, just assume the netmask is 0xffffff00
that's all we really wanted from it anyway.

--HG--
extra : convert_revision : ac0a390ddb7a6b0a4e4c6d2885bfa7bd059faf36
util/tap/tap.cc