mirror of
https://github.com/samba-team/samba.git
synced 2025-11-01 16:23:49 +03:00
f79d90bd1364b970adb2981b2572e77066431f1e
lookups in load_interfaces(). The reason was my eth0 interface was down, and it was being interpreted as a DNS name. This patch changes load_interfaces() to happening automatically when interfaces are first needed instead of on the startup of every samba binary. This means that (for example) ldbadd doesn't call load_interfaces(), which means no slow DNS lookups. I also reduced the number of static globals in interface.c to 1, and changed from malloc to talloc When you want to force a reload of the interfaces list, you now call unload_interfaces(), which means the next call that needs the interfaces list will reload it
Description
https://gitlab.com/samba-team/samba is the Official GitLab mirror of https://git.samba.org/samba.git -- Merge requests should be made on GitLab (not on GitHub)
457 MiB
Languages
C
76.1%
Python
19.1%
Shell
2.8%
Perl
1.4%
Rust
0.3%
Other
0.2%