summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Cardace <acardace@redhat.com>2020-07-03 17:12:15 +0200
committerAntonio Cardace <acardace@redhat.com>2020-07-08 15:10:36 +0200
commite3e7bdf96ef7a1c551dab375386e62d12689775c (patch)
tree9db0e38882d5583ca0fa6e0f246365a9c5159654
parentd67ad4c86b03a247162e2f8bb18106b15d6d33da (diff)
downloadNetworkManager-e3e7bdf96ef7a1c551dab375386e62d12689775c.tar.gz
utils: add 'unspecified' to nm_utils_route_type2str()
https://bugzilla.redhat.com/show_bug.cgi?id=1821787
-rw-r--r--libnm-core/nm-libnm-core-intern/nm-libnm-core-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-core/nm-libnm-core-intern/nm-libnm-core-utils.c b/libnm-core/nm-libnm-core-intern/nm-libnm-core-utils.c
index 8d2ea09cdf..0e53016490 100644
--- a/libnm-core/nm-libnm-core-intern/nm-libnm-core-utils.c
+++ b/libnm-core/nm-libnm-core-intern/nm-libnm-core-utils.c
@@ -207,4 +207,5 @@ NM_UTILS_ENUM2STR_DEFINE (nm_utils_route_type2str, guint8,
NM_UTILS_ENUM2STR (RTN_THROW, "throw"),
NM_UTILS_ENUM2STR (RTN_UNICAST, "unicast"),
NM_UTILS_ENUM2STR (RTN_UNREACHABLE, "unreachable"),
+ NM_UTILS_ENUM2STR (RTN_UNSPEC, "unspecified"),
);