From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 21 08:30:01 2012 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 500D244D for ; Fri, 21 Dec 2012 08:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 36C0A8FC14 for ; Fri, 21 Dec 2012 08:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBL8U1Ok036987 for ; Fri, 21 Dec 2012 08:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBL8U1Vb036986; Fri, 21 Dec 2012 08:30:01 GMT (envelope-from gnats) Date: Fri, 21 Dec 2012 08:30:01 GMT Message-Id: <201212210830.qBL8U1Vb036986@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kimmo Paasiala Subject: Re: conf/174225: [network.subr] [patch] add support for ipv6_addrs_IF style aliases to rc.conf(5) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kimmo Paasiala List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 08:30:01 -0000 The following reply was made to PR conf/174225; it has been noted by GNATS. From: Kimmo Paasiala To: bug-followup@FreeBSD.org, kpaasial@gmail.com Cc: Subject: Re: conf/174225: [network.subr] [patch] add support for ipv6_addrs_IF style aliases to rc.conf(5) Date: Fri, 21 Dec 2012 10:20:52 +0200 --bcaec55550349904ee04d15886e5 Content-Type: text/plain; charset=UTF-8 An updated patch that replaces the first one. This version supports ranges in the same way the IPv4 counterpart does. For example: ipv6_addrs_re0="2001:db8:1111:2222::9-b/64" Also a "return $_ret" is added at the end of ipv6_addrs_common() that was missing in the first patch. --bcaec55550349904ee04d15886e5 Content-Type: text/plain; charset=US-ASCII; name="network.subr_ipv6_addrs_range.patch.txt" Content-Disposition: attachment; filename="network.subr_ipv6_addrs_range.patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_haz1s41b0 SW5kZXg6IG5ldHdvcmsuc3Vicgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBuZXR3b3JrLnN1YnIJKHJldmlzaW9u IDI0NDUyMykKKysrIG5ldHdvcmsuc3Vicgkod29ya2luZyBjb3B5KQpAQCAtNTYyLDYgKzU2Miw3 IEBACiAJZmkKIAogCWlmYWxpYXNfdXAgJHtfaWZ9IGluZXQ2ICYmIF9yZXQ9MAorCWlwdjZfYWRk cnNfY29tbW9uICR7X2lmfSBhbGlhcyAmJiBfcmV0PTAKIAlpcHY2X3ByZWZpeF9ob3N0aWRfYWRk cl9jb21tb24gJHtfaWZ9IGFsaWFzICYmIF9yZXQ9MAogCWlwdjZfYWNjZXB0X3J0YWR2X3VwICR7 X2lmfSAmJiBfcmV0PTAKIApAQCAtNjg0LDYgKzY4NSw0OSBAQAogCXJldHVybiAkX3JldAogfQog CisKK2lwdjZfYWRkcnNfY29tbW9uKCkKK3sKKwlsb2NhbCBfcmV0IF9pZiBfYWN0aW9uIF9pcDZw cmVmaXggX2lwNnByZWZpeGVzCisJbG9jYWwgX2lwNmFkZHIgX3ByZWZpeGxlbgorCWxvY2FsIF9y YW5nZSBfaXA2bmV0IF9pcDZsb3cgX2lwNmhpZ2gKKwlfcmV0PTEKKwlfaWY9JDEKKwlfYWN0aW9u PSQyCisKKyMgZ2V0IHRoZSBwcmVmaXhlcyBmcm9tIGlwdjZfYWRkcnNfSUYgdmFyaWFibGUKKwlf aXA2cHJlZml4ZXM9YGdldF9pZl92YXI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bmV0d29yayBp bnRlcmZhY2UgJGlmLgogIwlJdCByZXR1cm5zIDAgaWYgYXQgbGVhc3Qgb25lIGFsaWFzIHdhcyBj b25maWd1cmVkIG9yCg== --bcaec55550349904ee04d15886e5--