ip_fastfwd: style(9) tidy for r367628
Discussed with: gnn MFC with: r367628
This commit is contained in:
parent
54819c9a62
commit
9b03c658ff
@ -141,7 +141,8 @@ ip_redir_alloc(struct mbuf *m, struct nhop_object *nh,
|
||||
struct in_ifaddr *nh_ia = (struct in_ifaddr *)(nh->nh_ifa);
|
||||
u_long src = ntohl(ip->ip_src.s_addr);
|
||||
|
||||
if (nh_ia != NULL && (src & nh_ia->ia_subnetmask) == nh_ia->ia_subnet) {
|
||||
if (nh_ia != NULL &&
|
||||
(src & nh_ia->ia_subnetmask) == nh_ia->ia_subnet) {
|
||||
if (nh->nh_flags & NHF_GATEWAY)
|
||||
*addr = nh->gw4_sa.sin_addr.s_addr;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user