2008-12-05 17:07:07 -05:00
|
|
|
$OpenBSD: patch-ipguard_c,v 1.2 2008/12/05 22:07:07 sthen Exp $
|
|
|
|
--- ipguard.c.orig Mon Nov 24 18:46:11 2008
|
|
|
|
+++ ipguard.c Fri Nov 28 13:42:13 2008
|
|
|
|
@@ -72,6 +72,7 @@ int main(int argc, char *argv[]) {
|
2008-11-21 08:57:31 -05:00
|
|
|
srand((unsigned int) getpid());
|
|
|
|
|
|
|
|
iface[0] = fmac[0] = log_name[0] = pid_name[0] = suser[0] = '\0';
|
|
|
|
+ strlcpy(suser, "_ipguard", MAXLOGNAME);
|
|
|
|
strncpy(ethers_name, ETHERSFILE, PATH_MAX);
|
|
|
|
strncpy(fmac, FAKEMAC, 18);
|
|
|
|
ethers_update = ETHERSTO;
|