diff options
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 516aa46..c68ed23 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -416,7 +416,8 @@ in_pcbbind_setup(inp, nam, laddrp, lportp, cred) * counting down */ if (ipport_randomized) - *lastport = first - (arc4random() % (first - last)); + *lastport = first - + (arc4random() % (first - last)); count = first - last; do { @@ -433,7 +434,8 @@ in_pcbbind_setup(inp, nam, laddrp, lportp, cred) * counting up */ if (ipport_randomized) - *lastport = first + (arc4random() % (last - first)); + *lastport = first + + (arc4random() % (last - first)); count = last - first; do { |