summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-route-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-07-14 09:02:17 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-14 19:56:20 +0200
commitf4defbdc5d3cae78da5ed05a26bb2bf7b8cc72b2 (patch)
treea1dd4a34b27d551ec8dc0c8fae875dda994b1fd9 /src/network/networkd-route-util.h
parentMerge pull request #27526 from mrc0mmand/journal-fss (diff)
downloadsystemd-f4defbdc5d3cae78da5ed05a26bb2bf7b8cc72b2.tar.xz
systemd-f4defbdc5d3cae78da5ed05a26bb2bf7b8cc72b2.zip
network: do not append table number in TableString field in json output
The json output already contains table number, hence, it is not necessary to include number in the string.
Diffstat (limited to 'src/network/networkd-route-util.h')
-rw-r--r--src/network/networkd-route-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-route-util.h b/src/network/networkd-route-util.h
index b862cd6774..1b082fc63f 100644
--- a/src/network/networkd-route-util.h
+++ b/src/network/networkd-route-util.h
@@ -44,6 +44,6 @@ int route_protocol_full_to_string_alloc(int t, char **ret);
int route_flags_to_string_alloc(uint32_t flags, char **ret);
int manager_get_route_table_from_string(const Manager *m, const char *table, uint32_t *ret);
-int manager_get_route_table_to_string(const Manager *m, uint32_t table, char **ret);
+int manager_get_route_table_to_string(const Manager *m, uint32_t table, bool append_num, char **ret);
CONFIG_PARSER_PROTOTYPE(config_parse_route_table_names);