diff options
author | Thomas Haller <thaller@redhat.com> | 2017-11-07 19:35:46 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-11-13 11:35:44 +0100 |
commit | 0ed49717ab578622017b5723562503683db473bf (patch) | |
tree | 5e234d2789c838ec3cb8ef15994bfb9899e3cc57 /libnm-core/nm-setting-ip-config.h | |
parent | 88a40f960c5d1546f1966ff2223d28f87e2f054b (diff) | |
download | NetworkManager-0ed49717ab578622017b5723562503683db473bf.tar.gz |
all: support route-attribute "onlink" for IPv4
Kernel doesn't support it for IPv6.
This is especially useful, if you combine static routes
with DHCP. In that case, you might want to get the device-route
to the gateway automatically, but add a static-route for it.
Diffstat (limited to 'libnm-core/nm-setting-ip-config.h')
-rw-r--r-- | libnm-core/nm-setting-ip-config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-ip-config.h b/libnm-core/nm-setting-ip-config.h index 84ce84657a..96e61bb5c9 100644 --- a/libnm-core/nm-setting-ip-config.h +++ b/libnm-core/nm-setting-ip-config.h @@ -146,6 +146,7 @@ gboolean nm_ip_route_attribute_validate (const char *name, #define NM_IP_ROUTE_ATTRIBUTE_SRC "src" #define NM_IP_ROUTE_ATTRIBUTE_FROM "from" #define NM_IP_ROUTE_ATTRIBUTE_TOS "tos" +#define NM_IP_ROUTE_ATTRIBUTE_ONLINK "onlink" #define NM_IP_ROUTE_ATTRIBUTE_WINDOW "window" #define NM_IP_ROUTE_ATTRIBUTE_CWND "cwnd" #define NM_IP_ROUTE_ATTRIBUTE_INITCWND "initcwnd" |