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. (cherry picked from commitd839cf2fbb) (cherry picked from commit107704217b) Approved by: re (cperviva)
This commit is contained in:
parent
ea310d18b2
commit
33197f22b5
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