Fix -auto breakage introduced with the last commit.

This commit is contained in:
Brian Somers 2000-07-11 09:26:02 +00:00
parent 28035b8ba8
commit 040cfe28d1
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ bundle_DescriptorRead(struct fdescriptor *d, struct bundle *bundle,
* *not* be UP and we can't receive data
*/
pri = PacketCheck(bundle, tun.data, n, &bundle->filter.dial, NULL);
if (pri > 0)
if (pri >= 0)
bundle_Open(bundle, NULL, PHYS_AUTO, 0);
else
/*