Fix a topy (if (expr); command;)
Submitted by: Renaud Waldura <renaud@guppy.evolunet.com>
This commit is contained in:
parent
9ba97db25b
commit
682cb20f5d
@ -370,7 +370,7 @@ ipcp_WriteDNS(struct ipcp *ipcp)
|
||||
mask = umask(022);
|
||||
if ((fp = ID0fopen(_PATH_RESCONF, "w")) != NULL) {
|
||||
umask(mask);
|
||||
if (ipcp->ns.resolv_nons);
|
||||
if (ipcp->ns.resolv_nons)
|
||||
fputs(ipcp->ns.resolv_nons, fp);
|
||||
paddr = inet_ntoa(ipcp->ns.dns[0]);
|
||||
log_Printf(LogIPCP, "Primary nameserver set to %s\n", paddr);
|
||||
|
Loading…
Reference in New Issue
Block a user