diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-02-13 22:26:36 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-02-13 22:26:36 +0000 |
commit | 0f7d176710413daaae89f0f5ea564cd7dfb78e43 (patch) | |
tree | a4e11649f87b0bb899e1d4bd49b36caa6f9671bf /sys/netinet/ip_dummynet.h | |
parent | 0afeecc785865cb7cfc350a0712c67690af370fa (diff) | |
download | FreeBSD-src-0f7d176710413daaae89f0f5ea564cd7dfb78e43.zip FreeBSD-src-0f7d176710413daaae89f0f5ea564cd7dfb78e43.tar.gz |
Do not expose ip_dn_find_rule inline function to userland and unbreak world.
----------------------------------------------------------------------
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r-- | sys/netinet/ip_dummynet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h index 085f6d3..81c27b2 100644 --- a/sys/netinet/ip_dummynet.h +++ b/sys/netinet/ip_dummynet.h @@ -351,7 +351,6 @@ extern ip_dn_ctl_t *ip_dn_ctl_ptr; extern ip_dn_ruledel_t *ip_dn_ruledel_ptr; extern ip_dn_io_t *ip_dn_io_ptr; #define DUMMYNET_LOADED (ip_dn_io_ptr != NULL) -#endif /* * Return the IPFW rule associated with the dummynet tag; if any. @@ -362,4 +361,5 @@ ip_dn_find_rule(struct mbuf *m) struct m_tag *mtag = m_tag_find(m, PACKET_TAG_DUMMYNET, NULL); return mtag ? ((struct dn_pkt_tag *)(mtag+1))->rule : NULL; } +#endif #endif /* _IP_DUMMYNET_H */ |