[patch] Minor niggle on pfctl

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[patch] Minor niggle on pfctl

Dirk-Willem van Gulik
After spending over 30 minutes figuring out why a firewall refused to load
its config (turned out that the PCI card had unwedged itself).

Dw

*** pfctl.c.org Tue Jan 31 07:40:08 2006
--- pfctl.c     Tue Jan 31 07:43:27 2006
***************
*** 1358,1364 ****
                return (1);
        }
        if (ioctl(pf->dev, DIOCSETSTATUSIF, &pi)) {
!               warnx("DIOCSETSTATUSIF");
                return (1);
        }
        return (0);
--- 1358,1364 ----
                return (1);
        }
        if (ioctl(pf->dev, DIOCSETSTATUSIF, &pi)) {
!               warnx("Failed to enable statistics accumulation on iterface %s", ifname);
                return (1);
        }
        return (0);
maintenance@builld-jv$