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 --- include/utils.h | 2 +- lib/rt_names.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/utils.h b/include/utils.h index e0a9c780cb9eb16223905374916813d1b1e7711f..9d3e152775904a7de0cfb5833128590eb94e2f7c 100644 --- a/include/utils.h +++ b/include/utils.h @@ -40,7 +40,7 @@ extern int echo_request; extern int use_iec; #ifndef CONF_USR_DIR -#define CONF_USR_DIR "/usr/lib/iproute2" +#define CONF_USR_DIR "/usr/share/iproute2" #endif #ifndef CONF_ETC_DIR #define CONF_ETC_DIR "/etc/iproute2" diff --git a/lib/rt_names.c b/lib/rt_names.c index 7dc194b1530cfdad3bc3b20c3b9e3bb0d4d09cb0..01ad87b41cb2a02b7bf7ec12c8c50fc38830ebfa 100644 --- a/lib/rt_names.c +++ b/lib/rt_names.c @@ -208,7 +208,7 @@ rtnl_tabhash_initialize_dir(const char *ddir, const struct tabhash tabhash, cons snprintf(dirpath_usr, sizeof(dirpath_usr), "%s/%s", CONF_USR_DIR, ddir); snprintf(dirpath_etc, sizeof(dirpath_etc), "%s/%s", CONF_ETC_DIR, ddir); - /* load /usr/lib/iproute2/foo.d/X conf files, unless /etc/iproute2/foo.d/X exists */ + /* load /usr/share/iproute2/foo.d/X conf files, unless /etc/iproute2/foo.d/X exists */ rtnl_tabhash_readdir(dirpath_usr, dirpath_etc, tabhash, size); /* load /etc/iproute2/foo.d/X conf files */ --- base-commit: 218757a8b8bb431b382d7a104edb6ed4336d3b43 change-id: 20260228-usr-lib-to-usr-share-c09a2ffd0f8a Best regards, -- Yedaya Katsman