Sheldon Hearn wrote: > > On Thu, 12 Aug 1999 11:29:47 GMT, Niall Smart wrote: > > > Or is the test for IFF_PROMISC made earlier in the code? You > > should only print a disabled message when it has previously > > been enabled so that log file watchers can always match up > > the up/down pairs. > > I've been using if.c modified exactly as suggested for a few months now > and have experienced the intended results without apparent problems.
But what happens if you write a program which does whatever ioctl is required to unpromiscify an interface and run it on an unpromiscuous interface, does it print a message to syslog even though promiscuous mode was never enabled in the first place? Time to start reading some code methinks Niall + To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message