mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
2fc11518b7
this returns a list of wildcard address to listen on, when we don't have 'bind interfaces only' set. It is a list, not a single address, we need to listen separately for the IPv6 "::" address from the IPv4 0.0.0.0 address. This also takes account of the loadparm "socket address" option
30 lines
741 B
Python
30 lines
741 B
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_LIBRARY('netif',
|
|
source='interface.c',
|
|
deps='samba-util interfaces samba-hostconfig',
|
|
private_library=True,
|
|
autoproto='netif_proto.h'
|
|
)
|
|
|
|
bld.SAMBA_MODULE('socket_ip',
|
|
source='socket_ip.c',
|
|
subsystem='samba_socket',
|
|
deps='errors',
|
|
internal_module=True
|
|
)
|
|
|
|
bld.SAMBA_MODULE('socket_unix',
|
|
source='socket_unix.c',
|
|
subsystem='samba_socket',
|
|
deps='talloc',
|
|
internal_module=True
|
|
)
|
|
|
|
bld.SAMBA_SUBSYSTEM('samba_socket',
|
|
source='socket.c access.c connect_multi.c connect.c',
|
|
public_deps='talloc LIBTSOCKET',
|
|
deps='LIBCLI_COMPOSITE LIBCLI_RESOLVE socket_ip socket_unix'
|
|
)
|
|
|