[Bug 217452] net/dhcp6 command_flags does not need to be referenced inside of the command_args

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 1 15:09:45 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217452

            Bug ID: 217452
           Summary: net/dhcp6 command_flags does not need to be referenced
                    inside of the command_args
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs at FreeBSD.org
          Reporter: apevnev at me.com
          Assignee: hrs at FreeBSD.org
             Flags: maintainer-feedback?(hrs at FreeBSD.org)

Default port startup script results in the following command line (dhcp6c_flags
is set to "-n" in /etc/rc.local):

/usr/local/sbin/dhcp6c -n -c /usr/local/etc/dhcp6c.conf -p /var/run/dhcp6c.pid
-n bge1

I suggest the following patch which removes duplicate -n argument just before
the interface name:

Index: dhcp6c.in
===================================================================
--- dhcp6c.in   (revision 435147)
+++ dhcp6c.in   (working copy)
@@ -39,7 +39,7 @@

 required_files="${dhcp6c_config}"
 pidfile="${dhcp6c_pidfile}"
-command_args="-c ${dhcp6c_config} -p ${dhcp6c_pidfile} ${dhcp6c_flags}
${dhcp6c_interfaces}"
+command_args="-c ${dhcp6c_config} -p ${dhcp6c_pidfile} ${dhcp6c_interfaces}"

 dhcp6c_precmd()
 {

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list