Date: Tue, 5 Jan 2016 05:38:17 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405271 - in head/net/dhcp6: . files Message-ID: <201601050538.u055cHAL094083@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601050538.u055cHAL094083>