Skip to content

Commit

Permalink
enable pfctl_test_altqsupport() for non-OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjc committed Jul 10, 2003
1 parent 7fa3363 commit ce38acc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions kame/kame/pfctl/pfctl.c
Expand Up @@ -1213,7 +1213,6 @@ pfctl_clear_rule_counters(int dev, int opts)
int
pfctl_test_altqsupport(int dev, int opts)
{
#ifdef __OpenBSD__ /* for now */
struct pfioc_altq pa;

if (ioctl(dev, DIOCGETALTQS, &pa)) {
Expand All @@ -1226,9 +1225,6 @@ pfctl_test_altqsupport(int dev, int opts)
err(1, "DIOCGETALTQS");
}
return (1);
#else
return (0);
#endif
}

int
Expand Down

0 comments on commit ce38acc

Please sign in to comment.