]> www.infradead.org Git - users/dwmw2/vpnc-scripts.git/commit
Removed automatic adding of NS routes master
authorHeiko Schabert <hs@hs-automation.net>
Fri, 6 May 2022 12:08:32 +0000 (14:08 +0200)
committerHeiko Schabert <heiko.schabert@siemens.com>
Mon, 9 May 2022 10:09:40 +0000 (12:09 +0200)
commit78050150f712d96f81dcade1efe5d16d017e8471
tree453c4fb1ba7ae10576442a992ae3ad77da22f0dd
parent43195c25fd6aaa4d50f42c2dc51e53cf1b0baeb0
Removed automatic adding of NS routes

With openconnect version 9.01 include-split was modified, in a way that
a announced route with netwask 0.0.0.0 will leverage env variable `CISCO_SPLIT_INC`.

Entries inside `CISCO_SPLIT_INC`, always causes that routes to the NS
`INTERNAL_IP4_DNS` are created.

This commit, removes that NS routes are automatically are added.

The same mechanism applies to IP6 as well, which uses
env variable `CISCO_IPV6_SPLIT_INC`

Resolves #38. Alignment with behaviour of NetworkManager openconnect
see [1].

[1] https://gitlab.gnome.org/GNOME/NetworkManager-openconnect/-/blob/main/src/nm-openconnect-service-openconnect-helper.c

Signed-off-by: Heiko Schabert <heiko.schabert@siemens.com>
vpnc-script