networkd: tunnels - make tunnel address parsing generic
authorTom Gundersen <teg@jklm.no>
Thu, 3 Jul 2014 08:52:42 +0000 (10:52 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 3 Jul 2014 09:00:36 +0000 (11:00 +0200)
commit4826dd6850478ddec604787756db26c1ab2c106f
treebc0f27a1465cc81ff6774277236d4dfe4570a84c
parent30ae9dfda3788cdfaf1b84d124dbc7feb638c77b
networkd: tunnels - make tunnel address parsing generic

It had a bug in the typing, fix that and also make it save the address family so we
can print proper error messages.
src/network/networkd-netdev.c
src/network/networkd-tunnel.c
src/network/networkd.h