mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
oops, I forgot this file in a prior commit (change was still sitting here,
uncommitted): Rename ip_claim_next_hop() to m_claim_next_hop(), give it an extra arg (the type of tag to claim) and push it out of ip_var.h into mbuf.h alongside all of the other macros that work ok mbuf's and tag's.
This commit is contained in:
parent
8acafdf5e7
commit
7fbb130049
2 changed files with 2 additions and 2 deletions
|
|
@ -445,7 +445,7 @@ tcp_input(m, off0)
|
|||
#endif
|
||||
|
||||
/* Grab info from PACKET_TAG_IPFORWARD tag prepended to the chain. */
|
||||
next_hop = ip_claim_next_hop(m);
|
||||
next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
|
||||
#ifdef INET6
|
||||
isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@ tcp_input(m, off0)
|
|||
#endif
|
||||
|
||||
/* Grab info from PACKET_TAG_IPFORWARD tag prepended to the chain. */
|
||||
next_hop = ip_claim_next_hop(m);
|
||||
next_hop = m_claim_next_hop(m, PACKET_TAG_IPFORWARD);
|
||||
#ifdef INET6
|
||||
isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue