summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-02-13 22:26:36 +0000
committermlaier <mlaier@FreeBSD.org>2004-02-13 22:26:36 +0000
commit0f7d176710413daaae89f0f5ea564cd7dfb78e43 (patch)
treea4e11649f87b0bb899e1d4bd49b36caa6f9671bf
parent0afeecc785865cb7cfc350a0712c67690af370fa (diff)
downloadFreeBSD-src-0f7d176710413daaae89f0f5ea564cd7dfb78e43.zip
FreeBSD-src-0f7d176710413daaae89f0f5ea564cd7dfb78e43.tar.gz
Do not expose ip_dn_find_rule inline function to userland and unbreak world.
----------------------------------------------------------------------
-rw-r--r--sys/netinet/ip_dummynet.h2
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 */
OpenPOWER on IntegriCloud