]> www.infradead.org Git - users/dwmw2/vpnc-scripts.git/commit
fix another ifconfig syntax difference between Linux and *BSDs
authorDaniel Lenski <dlenski@gmail.com>
Tue, 8 Dec 2020 07:31:50 +0000 (23:31 -0800)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 14 Dec 2020 17:45:05 +0000 (09:45 -0800)
commitc8fef3b54eb30b3cd89b82cf9bc04afe99db7b82
treeee8f1175c977d00cba14395627bf524e02623e9e
parentc0beab86c91d7972edcd52a249fa314be1c300e9
fix another ifconfig syntax difference between Linux and *BSDs

See https://gitlab.com/openconnect/vpnc-scripts/-/merge_requests/9#note_466328301 :

> Thanks.  I don't know how this one was missed; the [FreeBSD man
> page](https://www.freebsd.org/cgi/man.cgi?ifconfig) and [macOS man
> page](https://ss64.com/osx/ifconfig.html) clearly show that `delete` has
> to come _after_ the address.
>
> However, Linux's ifconfig [requires `del` to come
> before](https://linux.die.net/man/8/ifconfig), and _only_ works for
> removing IPv6 addresses… so this needs to be reworked a bit to not break
> on Linux.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
vpnc-script