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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62938

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
/*