Do not expose ip_dn_find_rule inline function to userland and unbreak world.

----------------------------------------------------------------------
This commit is contained in:
Max Laier 2004-02-13 22:26:36 +00:00
parent d041188382
commit 97075d0c0a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125791

View File

@ -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 */