]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rearrange brackets to quiet scan
authorAlan T. DeKok <aland@freeradius.org>
Thu, 1 Apr 2021 12:45:45 +0000 (08:45 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 2 Apr 2021 19:13:06 +0000 (15:13 -0400)
src/main/listen.c

index 9273328aff9d059c2d2e63c6c575ff4fbeef4665..8c5293b527eff54382b5731bd81f50ce2a5db9d2 100644 (file)
@@ -3192,14 +3192,14 @@ static rad_listen_t *listen_parse(CONF_SECTION *cs, char const *server)
        if (p) {
                if (strncmp(p + 1, "acct", 4) == 0) {
                        this->dual = true;
+#ifdef WITH_COA_TUNNEL
                        p += 5;
                }
 
-#ifdef WITH_COA_TUNNEL
                if (strcmp(p, "+coa") == 0) {
                        this->send_coa = true;
-               }
 #endif
+               }
        }
 #endif