ppp(8): style(9) fix after r325157
Approved by: mav (mentor)
This commit is contained in:
parent
538abeb18d
commit
81a5dbd52c
@ -801,8 +801,7 @@ rt_Set(struct bundle *bundle, int cmd, const struct ncprange *dst,
|
||||
if (!ncprange_ishost(dst)) {
|
||||
cp += memcpy_roundup(cp, &samask, samask.ss_len);
|
||||
rtmes.m_rtm.rtm_addrs |= RTA_NETMASK;
|
||||
}
|
||||
else
|
||||
} else
|
||||
rtmes.m_rtm.rtm_flags |= RTF_HOST;
|
||||
|
||||
nb = cp - (char *)&rtmes;
|
||||
@ -907,8 +906,7 @@ rt_Update(struct bundle *bundle, const struct sockaddr *dst,
|
||||
if (mask) {
|
||||
rtmes.m_rtm.rtm_addrs |= RTA_NETMASK;
|
||||
p += memcpy_roundup(p, mask, mask->sa_len);
|
||||
}
|
||||
else
|
||||
} else
|
||||
rtmes.m_rtm.rtm_flags |= RTF_HOST;
|
||||
|
||||
if (ifa && ifp && ifp->sa_family == AF_LINK) {
|
||||
|
Loading…
Reference in New Issue
Block a user