NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/52370: typo in /etc/rc.d/network



>Number:         52370
>Category:       misc
>Synopsis:       typo in /etc/rc.d/network
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 06 01:20:00 +0000 2017
>Originator:     Edgar Pettijohn
>Release:        7.1 Wed Jul  5 20:14:53 CDT 2017
>Organization:
>Environment:
7.1 NetBSD 7.1 (GENERIC.201703111743Z) amd64
>Description:
network_start_ipv6_autoconf() calls a nonexistent function checkyesnox(). This prints an error during startup.
>How-To-Repeat:
Reboot.
>Fix:
NetBSD$ cat /usr/src/etc/rc.d/network.patch                                    
Index: network
===================================================================
RCS file: /cvsroot/src/etc/rc.d/network,v
retrieving revision 1.71
diff -u -u -r1.71 network
--- network     6 Mar 2016 18:50:06 -0000       1.71
+++ network     6 Jul 2017 01:10:30 -0000
@@ -435,7 +435,7 @@
        # IPv6 interface autoconfiguration.
 
        # dhcpcd will ensure DAD completes before forking
-       if checkyesnox rtsol && ! checkyesno dhcpcd; then
+       if checkyesno rtsol && ! checkyesno dhcpcd; then
                if [ "$ip6mode" = "autohost" ]; then
                        echo
                        warn "rtsol has been removed, " \



Home | Main Index | Thread Index | Old Index