]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
fix wrong string in error message
authorDaniel Lenski <dlenski@gmail.com>
Wed, 29 Apr 2020 21:35:36 +0000 (14:35 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Wed, 29 Apr 2020 21:35:36 +0000 (14:35 -0700)
Typo in https://gitlab.com/openconnect/openconnect/-/merge_requests/97

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

index 9115e567bff6c711ee21b303e16a6229a4384d37..1817aeb5a49a6846bdffb6c3c3b18d03ba2d11fe 100644 (file)
--- a/script.c
+++ b/script.c
@@ -270,7 +270,7 @@ void prepare_script_env(struct openconnect_info *vpninfo)
                        if (!inet_aton(vpninfo->ip_info.addr, &addr))
                                vpn_progress(vpninfo, PRG_ERR,
                                             _("Ignoring legacy network because address \"%s\" is invalid.\n"),
-                                            vpninfo->ip_info.netmask);
+                                            vpninfo->ip_info.addr);
                        else if (!inet_aton(vpninfo->ip_info.netmask, &mask))
                        bad_netmask:
                                vpn_progress(vpninfo, PRG_ERR,