FreeBSD Bugzilla – Attachment 76308 Details for
Bug 110028
net/isc-dhcp3-server: fix after ascii2addr() removal in CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net_isc-dhcp3-server.diff
net_isc-dhcp3-server.diff (text/plain), 1.53 KB, created by
Joerg Pulz
on 2007-03-07 07:10:05 UTC
(
hide
)
Description:
net_isc-dhcp3-server.diff
Filename:
MIME Type:
Creator:
Joerg Pulz
Created:
2007-03-07 07:10:05 UTC
Size:
1.53 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/net/isc-dhcp3-server/Makefile,v >retrieving revision 1.120 >diff -u -r1.120 Makefile >--- Makefile 26 Feb 2007 22:20:58 -0000 1.120 >+++ Makefile 7 Mar 2007 06:47:21 -0000 >@@ -19,7 +19,7 @@ > MAINTAINER= Joerg.Pulz@frm2.tum.de > COMMENT?= The ISC Dynamic Host Configuration Protocol server > >-PORTREVISION_SERVER= 1 >+PORTREVISION_SERVER= 2 > PORTREVISION_CLIENT= 0 > PORTREVISION_RELAY= 0 > PORTREVISION_DEVEL= 0 >Index: files/patch-server::dhcpd.c >=================================================================== >RCS file: /home/ncvs/ports/net/isc-dhcp3-server/files/patch-server::dhcpd.c,v >retrieving revision 1.2 >diff -u -r1.2 patch-server::dhcpd.c >--- files/patch-server::dhcpd.c 25 Jun 2004 18:50:13 -0000 1.2 >+++ files/patch-server::dhcpd.c 7 Mar 2007 06:47:21 -0000 >@@ -117,7 +117,7 @@ > + set_jail = argv [i]; > + if (++i == argc) > + usage (); >-+ if (ascii2addr (AF_INET, argv[i], &jail_ip_address) < 0) >++ if (inet_pton (AF_INET, argv[i], &jail_ip_address) < 0) > + log_fatal ("invalid ip address: %s", argv[i]); > + jail_ip_address = ntohl (jail_ip_address); > + no_dhcpd_jail = 1; >@@ -146,7 +146,7 @@ > + if (!no_dhcpd_jail && (s = getenv ("DHCPD_JAIL_HOSTNAME")) && > + (s2 = getenv ("DHCPD_JAIL_IPADDRESS"))) { > + set_jail = s; >-+ if (ascii2addr (AF_INET, s2, &jail_ip_address) < 0) >++ if (inet_pton (AF_INET, s2, &jail_ip_address) < 0) > + log_fatal ("invalid ip address: %s", s2); > + jail_ip_address = ntohl (jail_ip_address); > + }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110028
: 76308