diff options
author | peter <peter@FreeBSD.org> | 1995-07-31 10:35:36 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-07-31 10:35:36 +0000 |
commit | b6ccb9009ac731bcfa2691926d47c850c895e0c3 (patch) | |
tree | 87a04d5212f966e775b7134429cef9688f05641f /usr.sbin/lpr | |
parent | fd35d46e41e41817874f8f31871fecd2e24627af (diff) | |
download | FreeBSD-src-b6ccb9009ac731bcfa2691926d47c850c895e0c3.zip FreeBSD-src-b6ccb9009ac731bcfa2691926d47c850c895e0c3.tar.gz |
Fix panic("ifpromisc failed") when shutting down a bpf tap when the attached
interface is no longer IFF_UP.
The test for IFF_UP in ifpromisc is only useful while enabling IFF_PROMISC
and the higher levels of the bpf code do not allow for the possibility of
failure while shutting down. This is a trivial change.
Also, fixes PR#522.
Diffstat (limited to 'usr.sbin/lpr')
0 files changed, 0 insertions, 0 deletions