summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-07-07 14:58:56 +0530
committerTom Gundersen <teg@jklm.no>2014-07-07 13:32:14 +0200
commitc081882f07617e56bcbce54105068137e4e0bb52 (patch)
tree6b249bf6c0b90eb1aa05a062e6dbe5b1f213ce7b /src/network/networkd.h
parent58587a7a0c3bf5595190486781d3bbc00654c6ef (diff)
networkd: add support for peer address
This patch adds peer address support for networkd . In the [Address] a new configurable param is Peer. [Match] Name=ipip-tun [Address] Address=10.0.0.1/32 Peer=10.0.0.2/32
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 6a00175157..5df52c98f4 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -211,6 +211,7 @@ struct Address {
struct ifa_cacheinfo cinfo;
union in_addr_union in_addr;
+ union in_addr_union in_addr_peer;
LIST_FIELDS(Address, addresses);
};