Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2017 15:09:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217452] net/dhcp6 command_flags does not need to be referenced inside of the command_args
Message-ID:  <bug-217452-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217452

            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@FreeBSD.org
          Reporter: apevnev@me.com
          Assignee: hrs@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)

Default port startup script results in the following command line (dhcp6c_f=
lags
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 befo=
re
the interface name:

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

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

 dhcp6c_precmd()
 {

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217452-13>