Skip to content

Commit

Permalink
When adding IPv6 fwd support to ipfw in r225044 these two files were
Browse files Browse the repository at this point in the history
not committed.  Initialize next_hop6 to align with the IPv4 code.

PR:		bin/117214
MFC after:	3 weeks
X-MFC with:	r225044
Approved by:	re (kib)
  • Loading branch information
Bjoern A. Zeeb authored and Bjoern A. Zeeb committed Aug 27, 2011
1 parent 4cf7545 commit 3d07127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys/net/if_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -3083,6 +3083,7 @@ bridge_pfil(struct mbuf **mp, struct ifnet *bifp, struct ifnet *ifp, int dir)
args.m = *mp;
args.oif = ifp;
args.next_hop = NULL;
args.next_hop6 = NULL;
args.eh = &eh2;
args.inp = NULL; /* used by ipfw uid/gid/jail rules */
i = V_ip_fw_chk_ptr(&args);
Expand Down
1 change: 1 addition & 0 deletions sys/net/if_ethersubr.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ ether_ipfw_chk(struct mbuf **m0, struct ifnet *dst, int shared)
args.m = m; /* the packet we are looking at */
args.oif = dst; /* destination, if any */
args.next_hop = NULL; /* we do not support forward yet */
args.next_hop6 = NULL; /* we do not support forward yet */
args.eh = &save_eh; /* MAC header for bridged/MAC packets */
args.inp = NULL; /* used by ipfw uid/gid/jail rules */
i = V_ip_fw_chk_ptr(&args);
Expand Down

0 comments on commit 3d07127

Please sign in to comment.