Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145721738
D7190.id18290.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7190.id18290.diff
View Options
Index: lang/php56/Makefile.ext
===================================================================
--- lang/php56/Makefile.ext
+++ lang/php56/Makefile.ext
@@ -218,6 +218,7 @@
.if ${PHP_MODNAME} == "opcache"
CONFIGURE_ARGS+=--enable-opcache
+USES:= ${USES:C/php:ext/php:zend/}
.endif
.if ${PHP_MODNAME} == "pcntl"
Index: net/isc-dhcp43-server/Makefile
===================================================================
--- net/isc-dhcp43-server/Makefile
+++ net/isc-dhcp43-server/Makefile
@@ -19,7 +19,7 @@
PORTREVISION_SERVER= 0
PORTREVISION_CLIENT= 0
-PORTREVISION_RELAY= 0
+PORTREVISION_RELAY= 1
SUBSYS?= server
Index: net/isc-dhcp43-server/files/patch-fix_relay_return_packets
===================================================================
--- /dev/null
+++ net/isc-dhcp43-server/files/patch-fix_relay_return_packets
@@ -0,0 +1,31 @@
+description: fix relaying of return packets
+author: Steinar H. Gunderson <sgunderson@bigfoot.com>
+
+--- common/discover.c
++++ common/discover.c
+@@ -1104,9 +1104,9 @@ discover_interfaces(int state) {
+ INTERFACE_REQUESTED);
+
+ #ifdef DHCPv6
+- if (!(tmp->flags & INTERFACE_REQUESTED)) {
++ if (!(tmp->flags & INTERFACE_REQUESTED) && state != DISCOVER_RELAY) {
+ #else
+- if (!tmp -> ifp || !(tmp -> flags & INTERFACE_REQUESTED)) {
++ if (!tmp -> ifp || (!(tmp -> flags & INTERFACE_REQUESTED) && state != DISCOVER_RELAY)) {
+ #endif /* DHCPv6 */
+ if ((tmp -> flags & INTERFACE_REQUESTED) != ir)
+ log_fatal ("%s: not found", tmp -> name);
+--- relay/dhcrelay.c
++++ relay/dhcrelay.c
+@@ -787,6 +787,11 @@ do_relay4(struct interface_info *ip, str
+ if (out)
+ return;
+
++ /* If this is not a BOOTREPLY, and it is not on a requested interface,
++ * drop it. */
++ if (!(ip->flags & INTERFACE_REQUESTED))
++ return;
++
+ /* Add relay agent options if indicated. If something goes wrong,
+ * drop the packet. Note this may set packet->giaddr if RFC3527
+ * is enabled. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 24, 1:57 PM (10 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28974544
Default Alt Text
D7190.id18290.diff (1 KB)
Attached To
Mode
D7190: isc-dhcp43-relay: Fix debian bug 648401
Attached
Detach File
Event Timeline
Log In to Comment