summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-02-28 10:10:38 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-02-28 10:16:55 +0900
commit54901fd2223bfae6cb68402c71cec8ec6af59c39 (patch)
treee3e50f8b34b1b1436c525eba83fb43b766f9e770 /src/network/networkd-route.h
parent4bec2f237bb714b160cd27edf28764fae658b110 (diff)
downloadsystemd-54901fd2223bfae6cb68402c71cec8ec6af59c39.tar.gz
network: save GatewayOnLink= value as tristate in Route
This should not change any behavior. But used in the later commit.
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r--src/network/networkd-route.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h
index 4eddf5194f..7a9fc161bb 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -30,6 +30,7 @@ struct Route {
uint32_t initrwnd;
unsigned char pref;
unsigned flags;
+ int gateway_onlink;
union in_addr_union gw;
union in_addr_union dst;