summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c
index 9627bf63dd..eb0af9ef34 100644
--- a/source3/lib/interface.c
+++ b/source3/lib/interface.c
@@ -469,7 +469,7 @@ static void interpret_interface(char *token)
token));
ZERO_STRUCT(ifs);
- safe_strcpy(ifs.name, token, sizeof(ifs.name)-1);
+ (void)strlcpy(ifs.name, token, sizeof(ifs.name));
ifs.flags = IFF_BROADCAST;
ifs.ip = ss;
ifs.netmask = ss_mask;