Fix a topy (if (expr); command;)

Submitted by:	Renaud Waldura <renaud@guppy.evolunet.com>
This commit is contained in:
Brian Somers 2000-05-25 16:12:55 +00:00
parent 9ba97db25b
commit 682cb20f5d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60922

View File

@ -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);