]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
logging direction fix
authorDaniel Lenski <dlenski@gmail.com>
Wed, 20 May 2020 02:18:29 +0000 (19:18 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Wed, 20 May 2020 02:18:29 +0000 (19:18 -0700)
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
ppp.c

diff --git a/ppp.c b/ppp.c
index ceab0485da44dc25361679364e647ed70aed7dd7..abb3377af91f94257fceb540b3fd6e77151f607b 100644 (file)
--- a/ppp.c
+++ b/ppp.c
@@ -1136,7 +1136,7 @@ int ppp_mainloop(struct openconnect_info *vpninfo, int *timeout, int readable)
                        vpn_progress(vpninfo, PRG_ERR,
                                     _("Sending Protocol-Reject for %s. Payload:\n"),
                                     proto_names(proto));
-                       dump_buf_hex(vpninfo, PRG_ERR, '<', pp, payload_len);
+                       dump_buf_hex(vpninfo, PRG_ERR, '>', pp, payload_len);
 
                        /* The rejected protocol MUST occupy 2 bytes prior to the rejected packet contents.
                         * (https://tools.ietf.org/html/rfc1661#section-5.7). We can clobber these bytes