]> git.proxmox.com Git - mirror_iproute2.git/commit
link_ip6tnl: Use IN6ADDR_ANY_INIT to initialize local/remote endpoints
authorSerhey Popovych <serhe.popovych@gmail.com>
Mon, 18 Dec 2017 17:48:04 +0000 (19:48 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 19 Dec 2017 16:14:01 +0000 (08:14 -0800)
commit95614cc8a3340713964e282d2a6cffbb87895d10
treea8a7fc0c31092aa91b53a8dfe3647f90b0ed4ae6
parent1f44b93744f11f2a8249e3c13751ab7debebaa5f
link_ip6tnl: Use IN6ADDR_ANY_INIT to initialize local/remote endpoints

Use specialized helper to initialize endpoint addresses with
zeros instead of open coding this. This unifies initialization
style with other ipv6 tunnel variants (i.e. gre6 and vti6).

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/link_ip6tnl.c