svn commit: r405271 - in head/net/dhcp6: . files

Hiroki Sato hrs at FreeBSD.org
Tue Jan 5 05:38:19 UTC 2016


Author: hrs
Date: Tue Jan  5 05:38:17 2016
New Revision: 405271
URL: https://svnweb.freebsd.org/changeset/ports/405271

Log:
  Fix a wrong condition.
  
  Spotted by:	Brad Smith

Modified:
  head/net/dhcp6/Makefile
  head/net/dhcp6/files/patch-addrconf.c

Modified: head/net/dhcp6/Makefile
==============================================================================
--- head/net/dhcp6/Makefile	Tue Jan  5 02:02:17 2016	(r405270)
+++ head/net/dhcp6/Makefile	Tue Jan  5 05:38:17 2016	(r405271)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dhcp6
 PORTVERSION=	20080615
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	net ipv6
 MASTER_SITES=	SF/wide-dhcpv6/wide-dhcpv6/wide-dhcpv6-${PORTVERSION}
 DISTNAME=	wide-dhcpv6-${PORTVERSION}

Modified: head/net/dhcp6/files/patch-addrconf.c
==============================================================================
--- head/net/dhcp6/files/patch-addrconf.c	Tue Jan  5 02:02:17 2016	(r405270)
+++ head/net/dhcp6/files/patch-addrconf.c	Tue Jan  5 05:38:17 2016	(r405271)
@@ -5,7 +5,7 @@
  	    in6addr2str(&addr->addr, 0), addr->pltime, addr->vltime);
  
 -	if (sa->addr.vltime != 0)
-+	if (sa->addr.vltime != 0 || sacreate)
++	if (sa->addr.vltime != 0 && sacreate)
  		if (na_ifaddrconf(IFADDRCONF_ADD, sa) < 0)
  			return (-1);
  


More information about the svn-ports-head mailing list