summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorEmil Renner Berthing <systemd@esmil.dk>2014-09-05 11:56:02 +0200
committerTom Gundersen <teg@jklm.no>2014-09-08 15:08:27 +0200
commit46b0c76e2c355c0d0cc4792abb98cde07b28bc53 (patch)
treec5a3a16ed64d3d3470852f415293380361f6bfa8 /src/network/networkd.h
parent4bd5ace3e78ec0ca4c174bc875e3d9f6e1ae7405 (diff)
networkd: add preferred source to dhcp4 gateway route
This makes DHCPv4 and IPv4LL coexist peacefully. [tomegun: apply to both the dhcp routes, use in_addr_is_null() rather than a separate variable to indicate when prefsrc should be applied]
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index ab5df1aa3c..c6e6b22c38 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -150,6 +150,7 @@ struct Route {
union in_addr_union in_addr;
union in_addr_union dst_addr;
+ union in_addr_union prefsrc_addr;
LIST_FIELDS(Route, routes);
};