Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
relayd: remove wrong disable flag for routers
To:
tech@openbsd.org
Date:
Tue, 8 Sep 2026 21:05:38 +0200

Download raw body.

Thread
  • Rafael Sadowski:

    relayd: remove wrong disable flag for routers

Without this diff, it's possible to set "disable" a "router" section that
disables a relay. In many cases, this is simply incorrect and, moreover,
undocumented.

I think it's a copy&waste issue. OK?

Rafael

diff --git a/parse.y b/parse.y
index 929b031..3f7e57a 100644
--- a/parse.y
+++ b/parse.y
@@ -2322,7 +2322,6 @@ routeoptsl	: ROUTE addrprefix {
 			}
 			free($2);
 		}
-		| DISABLE		{ rlay->rl_conf.flags |= F_DISABLE; }
 		| include
 		;