Do not expose ip_dn_find_rule inline function to userland and unbreak world.
----------------------------------------------------------------------
This commit is contained in:
parent
d041188382
commit
97075d0c0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125791
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user