I have a simple, probably stupid question. I run FreeBSD 10.4 Stable
r338093 and use the script

#!/usr/sbin/dtrace -s

dtrace:::BEGIN
{
printf("pf_default_rule.timeout[2/16/17]=%d/%d/%d\n",
  kernel`pf_default_rule.timeout[2], kernel`pf_default_rule.timeout[16],
  kernel`pf_default_rule.timeout[17]);
}

The output normally is
  pf_default_rule.timeout[2/16/17]=86400/6000/12000

But when I change the sourcefile /sys/netpfil/pf/pf.c trying a patch and
build and install the new kernel but without reboot, then the output of
the script is wrong:

  pf_default_rule.timeout[2/16/17]=3237216124/0/0

After reboot everything works again.

-- 
Andreas Longwitz

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to