diff options
| author | Marcelo Araujo <araujo@FreeBSD.org> | 2016-04-22 03:37:27 +0000 |
|---|---|---|
| committer | Marcelo Araujo <araujo@FreeBSD.org> | 2016-04-22 03:37:27 +0000 |
| commit | fcc0131f63ba876c84ceecbe6d8076157aa63bf0 (patch) | |
| tree | 45107d8b3629f2dee569ff4f5252e670ffd8ed73 /usr.bin/netstat | |
| parent | 091ea4a0919cdbfb8c73e28e732e3f16477d7f22 (diff) | |
Notes
Diffstat (limited to 'usr.bin/netstat')
| -rw-r--r-- | usr.bin/netstat/sctp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/sctp.c b/usr.bin/netstat/sctp.c index db40f9c9b359..0ab933a9ee84 100644 --- a/usr.bin/netstat/sctp.c +++ b/usr.bin/netstat/sctp.c @@ -349,7 +349,7 @@ sctp_process_tcb(struct xsctp_tcb *xstcb, xo_open_list("address"); xl = LIST_FIRST(&xladdr_head); xr = LIST_FIRST(&xraddr_head); - x_max = (xl_total > xr_total) ? xl_total : xr_total; + x_max = MAX(xl_total, xr_total); for (i = 0; i < x_max; i++) { xo_open_instance("address"); |
