aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_pcb.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2024-11-02 15:00:59 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2024-11-06 12:31:37 +0000
commit651772e2219d0bfbf7d78e88db294b34c19aa675 (patch)
tree135bb8847fac8736778e3045ca34b49927656c69 /sys/netinet/sctp_pcb.c
parentb59d578945807e487a2ed20ff6387f40c89db47d (diff)
sctp: editorial cleanup
Improve consistency, no functional change intended. MFC after: 3 days (cherry picked from commit d839cf2fbb47c52d5153fb366c51bd6f6a3dd0fd)
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r--sys/netinet/sctp_pcb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 39b7d58c8892..653edd066596 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -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();