summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2015-11-10 09:26:38 +0530
committerSusant Sahani <ssahani@gmail.com>2015-11-10 09:26:38 +0530
commitb69c318040acaefdd02a710998676312d764040b (patch)
tree99022516c48f7c7daf1e4328f71d6f978268b134 /src/network/networkd-network.c
parent89c22dc342548ba2596157caa72356efb26f4bfd (diff)
networkd: Add support to configure IPV6 hop limit
This patch adds support to configure IPV6 hop limit. For example: /proc/sys/net/ipv6/conf/wlp3s0/hop_limit
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 0188cb6fe5..29723a852f 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -127,6 +127,7 @@ static int network_load_one(Manager *manager, const char *filename) {
network->ipv6_privacy_extensions = IPV6_PRIVACY_EXTENSIONS_NO;
network->ipv6_accept_ra = -1;
network->ipv6_dad_transmits = -1;
+ network->ipv6_hop_limit = -1;
r = config_parse(NULL, filename, file,
"Match\0"