mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Create all tunnels - except gretap - with 'ip tunnel', as this supports most tunnel modes; create gretap tunnels with 'ip link'. Rework the whole concept of tunnel updates and make sure a tunnel only is changed - recreated - IFF the configuration has changed. In previos code 'tunnel change' was called on every _up() call. The 'tunnel change' part was removed completely as it doesn't work on many occations. So IFF the tunnel related interface configuration has changed, the tunnel is removed and recreated. fixes #78 Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>