diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-05-30 18:35:33 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-05-30 18:35:33 +0000 |
commit | 3d0c04fa57980bed59c1f5e6edf5ae928c7ca733 (patch) | |
tree | 793627230198d36359d5d13b2ec9e8c2f1036ab8 /net-mgmt | |
parent | b11193b1c90412ceacd63d4c64efb107328dc5d2 (diff) | |
download | ports-3d0c04fa57980bed59c1f5e6edf5ae928c7ca733.tar.gz ports-3d0c04fa57980bed59c1f5e6edf5ae928c7ca733.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/wide-dhcp/files/patch-ac | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-ac b/net-mgmt/wide-dhcp/files/patch-ac index fca7851badb7..91313da56274 100644 --- a/net-mgmt/wide-dhcp/files/patch-ac +++ b/net-mgmt/wide-dhcp/files/patch-ac @@ -1,5 +1,5 @@ --- client/dhcpc_subr.c.orig Fri Nov 3 01:39:55 1995 -+++ client/dhcpc_subr.c Thu Mar 27 11:39:50 1997 ++++ client/dhcpc_subr.c Mon Apr 21 23:59:03 1997 @@ -63,6 +63,12 @@ #ifdef __osf__ #include <net/pfilt.h> @@ -95,7 +95,7 @@ bzero(&so_dst, sizeof(struct sockaddr)); bzero(&so_mask, sizeof(struct sockaddr)); bzero(&so_gate, sizeof(struct sockaddr)); -@@ -1772,6 +1794,43 @@ +@@ -1772,6 +1794,44 @@ #endif @@ -115,6 +115,7 @@ + */ + if (param->dns_domain != NULL && param->dns_server != NULL) { + if(param->dns_server->num && param->dns_server->addr != NULL) { ++ unlink(_PATH_RESCONF); + if((fp = fopen(_PATH_RESCONF, "w")) == NULL) { + return; + } @@ -139,7 +140,7 @@ void make_decline(lsbuf, reqspecp) -@@ -1897,7 +1956,11 @@ +@@ -1897,7 +1957,11 @@ lsether->ether_shost[i] = intface.haddr.haddr[i]; #endif } @@ -151,7 +152,7 @@ return; } -@@ -2199,7 +2262,11 @@ +@@ -2199,7 +2263,11 @@ snd.ether->ether_shost[i] = intface.haddr.haddr[i]; #endif } @@ -163,7 +164,7 @@ return; } -@@ -2372,7 +2439,11 @@ +@@ -2372,7 +2440,11 @@ snd.ether->ether_shost[i] = intface.haddr.haddr[i]; #endif } @@ -175,7 +176,7 @@ return(0); } -@@ -2391,7 +2462,7 @@ +@@ -2391,7 +2463,7 @@ struct msghdr msg; struct iovec bufvec[1]; int bufsize = DFLTDHCPLEN; @@ -184,7 +185,7 @@ int on; #endif -@@ -2417,7 +2488,7 @@ +@@ -2417,7 +2489,7 @@ return(-1); } |