Subject: Re: [PATCH] Update old references to /usr/lib/iproute2

From: Stephen Hemminger <[email-masked]>
Date: Mon, 2 Mar 2026 08:18:42 -0800

On Sat, 28 Feb 2026 23:03:59 +0200
Yedaya Katsman <[email-masked]> wrote:

> In 962692356a1c ("Makefile: use /usr/share/iproute2 for config files")
> The path was changed to /usr/share/, but a comment and a define were still
> using the old path, Update them.
> 
> Signed-off-by: Yedaya Katsman <[email-masked]>

I would rather remove the #define's in include/utils.h
The file is internal, and everywhere is using the values that
are in the Makefile.

diff --git a/include/utils.h b/include/utils.h
index e0a9c780..adf6a581 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -39,13 +39,6 @@ extern bool do_all;
 extern int echo_request;
 extern int use_iec;
 
-#ifndef CONF_USR_DIR
-#define CONF_USR_DIR "/usr/lib/iproute2"
-#endif
-#ifndef CONF_ETC_DIR
-#define CONF_ETC_DIR "/etc/iproute2"
-#endif
-
 #define SPRINT_BSIZE 64
 #define SPRINT_BUF(x)  char x[SPRINT_BSIZE]