Bug 174225 - [network.subr] [patch] add support for ipv6_addrs_IF style aliases to rc.conf(5)
Summary: [network.subr] [patch] add support for ipv6_addrs_IF style aliases to rc.conf(5)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 11:20 UTC by Kimmo Paasiala
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments
file.diff (1008 bytes, patch)
2012-12-06 11:20 UTC, Kimmo Paasiala
no flags Details | Diff
network.subr_ipv6_addrs_range.patch.txt (1.52 KB, text/plain; charset=US-ASCII)
2012-12-21 08:20 UTC, Kimmo Paasiala
no flags Details
network.subr_ipv6_addrs_IF.patch.txt (2.14 KB, text/plain; charset=US-ASCII)
2012-12-26 09:50 UTC, Kimmo Paasiala
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Paasiala 2012-12-06 11:20:00 UTC
The attached patch adds support for ipv6_addrs_IF style aliases in rc.conf(5) to match ipv4_addrs_IF aliases that are already supported.

Fix: Patch attached with submission follows:
Comment 1 Kimmo Paasiala 2012-12-21 08:20:52 UTC
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.
Comment 2 Kimmo Paasiala 2012-12-26 09:50:01 UTC
This should be the final version of the patch. It is also available
from github as https://gist.github.com/4362018/297373e0a7e659ba898437c6ec57507a9f201f83

It applies cleanly to stable/9 r244687 and HEAD r244692.
Comment 3 Hiroki Sato freebsd_committer 2013-06-12 09:09:48 UTC
Responsible Changed
From-To: freebsd-bugs->hrs

Take.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:11 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped