mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net/radvd: support RemoveAdvOnExit directive via upstream patch
- Remove an unused patch - Also bump revision PR: 277505 Reported by: Franco Fichtner <franco@opnsense.org>
This commit is contained in:
parent
6534f9e18c
commit
3eaa8e5ef4
@ -1,9 +1,12 @@
|
||||
PORTNAME= radvd
|
||||
PORTVERSION= 2.19
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.litech.org/radvd/dist/
|
||||
|
||||
PATCH_SITES= https://github.com/${PORTNAME}-project/${PORTNAME}/commit/
|
||||
PATCHFILES= 3f1aeb2.patch:-p1
|
||||
|
||||
MAINTAINER= farrokhi@FreeBSD.org
|
||||
COMMENT= Linux/BSD IPv6 router advertisement daemon
|
||||
WWW= http://www.litech.org/radvd/
|
||||
|
@ -1,3 +1,5 @@
|
||||
TIMESTAMP = 1607081848
|
||||
TIMESTAMP = 1707290399
|
||||
SHA256 (radvd-2.19.tar.gz) = c36470706fec3a9e6bed394ffea08acaff5dac647848d26b96bb9b9c65d58da0
|
||||
SIZE (radvd-2.19.tar.gz) = 222794
|
||||
SHA256 (3f1aeb2.patch) = 8130a1f6e04292629c2c2cd9613beb4d4b085f0c08005e15b139bae10467f84c
|
||||
SIZE (3f1aeb2.patch) = 3699
|
||||
|
@ -1,23 +0,0 @@
|
||||
--- interface.c.orig 2020-12-29 09:42:21 UTC
|
||||
+++ interface.c
|
||||
@@ -61,6 +61,8 @@ void touch_iface(struct Interface *iface)
|
||||
|
||||
int setup_iface(int sock, struct Interface *iface)
|
||||
{
|
||||
+ int was_ready = iface->state_info.ready;
|
||||
+
|
||||
iface->state_info.changed = 0;
|
||||
iface->state_info.ready = 0;
|
||||
|
||||
@@ -97,8 +99,11 @@ int setup_iface(int sock, struct Interface *iface)
|
||||
return -1;
|
||||
}
|
||||
|
||||
+ iface->state_info.ready = was_ready;
|
||||
+
|
||||
/* join the allrouters multicast group so we get the solicitations */
|
||||
if (setup_allrouters_membership(sock, iface) < 0) {
|
||||
+ iface->state_info.ready = 0;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user