Skip to content

src/helper: handle openconnect 8.20 netmask values.

As of openconnect 8.20, INTERNAL_IPx_NETMASK can be set to 0.0.0.0 and /0 and this causes network manager to fail with a bad IP configuration.

This happens because 0.0.0.0/0 is set as a split route, but rewritten to be used as netmask instead.

If we detect this we force a /32 or /128 (IPv6) netmask prefix and avoid setting the CONFIG_NEVER_DEFAULT options.

This fixes issue #63 (closed) for me.

Signed-off-by: Knut Andre Tidemann knut.tidemann@gmail.com

Merge request reports