ip_fastfwd: style(9) tidy for r367628

Discussed with:	gnn
MFC with:	r367628
This commit is contained in:
emaste 2020-11-13 18:25:07 +00:00
parent 54819c9a62
commit 9b03c658ff
2 changed files with 6 additions and 5 deletions

View File

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