View | Details | Raw Unified | Return to bug 201601 | Differences between
and this patch

Collapse All | Expand All

(-)isc-dhcp42-server/Makefile (-1 / +1 lines)
Lines 18-24 Link Here
18
USES=		gmake
18
USES=		gmake
19
19
20
PATCHLEVEL=	P1
20
PATCHLEVEL=	P1
21
PORTREVISION_SERVER=	0
21
PORTREVISION_SERVER=	1
22
PORTREVISION_CLIENT=	0
22
PORTREVISION_CLIENT=	0
23
PORTREVISION_RELAY=	0
23
PORTREVISION_RELAY=	0
24
24
(-)isc-dhcp42-server/files/patch-server_confpars.c (+31 lines)
Line 0 Link Here
1
--- server/confpars.c.orig	2015-07-15 17:57:23 UTC
2
+++ server/confpars.c
3
@@ -3926,28 +3926,10 @@ parse_prefix6(struct parse *cfile, struc
4
 		return;
5
 	}
6
 
7
-	/* Make sure starting prefix is within the subnet */
8
-	if (!addr_eq(group->subnet->net,
9
-		     subnet_number(lo, group->subnet->netmask))) {
10
-			      parse_warn(cfile, "prefix6 start prefix"
11
-                                                " is outside the subnet");
12
-			      skip_to_semi(cfile);
13
-		return;
14
-	}
15
-
16
 	if (!parse_ip6_addr(cfile, &hi)) {
17
 		return;
18
 	}
19
 
20
-	/* Make sure ending prefix is within the subnet */
21
-	if (!addr_eq(group->subnet->net,
22
-		     subnet_number(hi, group->subnet->netmask))) {
23
-			      parse_warn(cfile, "prefix6 end prefix"
24
-                                                " is outside the subnet");
25
-			      skip_to_semi(cfile);
26
-		return;
27
-	}
28
-
29
 	/*
30
 	 * Next is '/' number ';'.
31
 	 */
(-)isc-dhcp43-server/Makefile (-1 / +1 lines)
Lines 18-24 Link Here
18
USES=		gmake
18
USES=		gmake
19
19
20
#PATCHLEVEL=	P1
20
#PATCHLEVEL=	P1
21
PORTREVISION_SERVER=	0
21
PORTREVISION_SERVER=	1
22
PORTREVISION_CLIENT=	0
22
PORTREVISION_CLIENT=	0
23
PORTREVISION_RELAY=	0
23
PORTREVISION_RELAY=	0
24
24
(-)isc-dhcp43-server/files/patch-server_confpars.c (+31 lines)
Line 0 Link Here
1
--- server/confpars.c.orig	2015-07-15 18:00:49 UTC
2
+++ server/confpars.c
3
@@ -4161,28 +4161,10 @@ parse_prefix6(struct parse *cfile,
4
 		return;
5
 	}
6
 
7
-	/* Make sure starting prefix is within the subnet */
8
-	if (!addr_eq(group->subnet->net,
9
-		     subnet_number(lo, group->subnet->netmask))) {
10
-			      parse_warn(cfile, "prefix6 start prefix"
11
-                                                " is outside the subnet");
12
-			      skip_to_semi(cfile);
13
-		return;
14
-	}
15
-
16
 	if (!parse_ip6_addr(cfile, &hi)) {
17
 		return;
18
 	}
19
 
20
-	/* Make sure ending prefix is within the subnet */
21
-	if (!addr_eq(group->subnet->net,
22
-		     subnet_number(hi, group->subnet->netmask))) {
23
-			      parse_warn(cfile, "prefix6 end prefix"
24
-                                                " is outside the subnet");
25
-			      skip_to_semi(cfile);
26
-		return;
27
-	}
28
-
29
 	/*
30
 	 * Next is '/' number ';'.
31
 	 */

Return to bug 201601