1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/socket
Douglas Bagnall de865f6c8b lib/socket: rearrange iface_comp() to use NUMERIC_CMP
We rearrange rather than just replacing the subtraction, because that
would call ntohl() more than necessary, and I think the flow is a bit
clearer this way.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15625

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 7ba6fcb936)
2024-06-10 13:24:16 +00:00
..
interfaces.c lib/socket: rearrange iface_comp() to use NUMERIC_CMP 2024-06-10 13:24:16 +00:00
interfaces.h lib:socket: add linkspeed, capability and if_index to iface_struct 2016-01-26 07:33:16 +01:00
wscript build: detect support for ethtool 2016-01-26 07:33:16 +01:00
wscript_build Add explicit dependency on samba-debug from libinterfaces and libserverrole. 2017-01-23 08:26:43 +01:00