]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Back out mistaken commit
authorRoy Marples <roy@marples.name>
Mon, 15 Sep 2014 08:16:36 +0000 (08:16 +0000)
committerRoy Marples <roy@marples.name>
Mon, 15 Sep 2014 08:16:36 +0000 (08:16 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 0220d74c8b351cc16b0b210287df0e6fb124ef9c..8a81bc5d456ccdc90a459211771d50ba1d03f228 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -2668,12 +2668,10 @@ dhcp6_handledata(void *arg)
                break;
        case DHCP6_RECONFIGURE:
                if (auth == NULL) {
-                       syslog(ifo->options & DHCPCD_AUTH_REQUIRE ?
-                           LOG_ERR : LOG_WARNING,
+                       syslog(LOG_ERR,
                            "%s: unauthenticated %s from %s",
                            ifp->name, op, ctx->sfrom);
-                       if (ifo->options & DHCPCD_AUTH_REQUIRE)
-                               return;
+                       return;
                }
                syslog(LOG_INFO, "%s: %s from %s",
                    ifp->name, op, ctx->sfrom);