mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
sctp: editorial cleanup
Improve consistency, no functional change intended. MFC after: 3 days
This commit is contained in:
parent
fc2a3ec6fe
commit
d839cf2fbb
1 changed files with 2 additions and 2 deletions
|
|
@ -312,7 +312,7 @@ sctp_mark_ifa_addr_down(uint32_t vrf_id, struct sockaddr *addr,
|
|||
}
|
||||
}
|
||||
|
||||
sctp_ifap->localifa_flags &= (~SCTP_ADDR_VALID);
|
||||
sctp_ifap->localifa_flags &= ~SCTP_ADDR_VALID;
|
||||
sctp_ifap->localifa_flags |= SCTP_ADDR_IFA_UNUSEABLE;
|
||||
out:
|
||||
SCTP_IPI_ADDR_RUNLOCK();
|
||||
|
|
@ -354,7 +354,7 @@ sctp_mark_ifa_addr_up(uint32_t vrf_id, struct sockaddr *addr,
|
|||
}
|
||||
}
|
||||
|
||||
sctp_ifap->localifa_flags &= (~SCTP_ADDR_IFA_UNUSEABLE);
|
||||
sctp_ifap->localifa_flags &= ~SCTP_ADDR_IFA_UNUSEABLE;
|
||||
sctp_ifap->localifa_flags |= SCTP_ADDR_VALID;
|
||||
out:
|
||||
SCTP_IPI_ADDR_RUNLOCK();
|
||||
|
|
|
|||
Loading…
Reference in a new issue