summaryrefslogtreecommitdiffstats
path: root/main/pingu/pingu-strncpy.patch
blob: 8b2ee18b1d0ef4a91c3e5f5987b03eaab629adff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- pingu-1.1.orig/pingu_iface.c
+++ pingu-1.1/pingu_iface.c
@@ -115,7 +115,7 @@
 	}
 
 	if (name != NULL)
-		strlcpy(iface->name, name, sizeof(iface->name));
+		strncpy(iface->name, name, sizeof(iface->name));
 
 	list_init(&iface->ping_list);
 	list_init(&iface->route_list);