From: Arne Schwabe Date: Wed, 31 Jan 2018 10:49:22 +0100 Message-Id: <1517392162-21501-1-git-send-email-arne@...1227...> In-Reply-To: References: Subject: [Openvpn-devel] [PATCH v2] show the right string for key-direction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net V2: print also a nice string if direction is not set --- src/openvpn/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 66e1f9d1..f405d8a2 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -1706,7 +1706,7 @@ show_settings(const struct options *o) #endif SHOW_STR(shared_secret_file); - SHOW_INT(key_direction); + SHOW_PARM(key_direction, keydirection2ascii(o->key_direction, false), "%s"); SHOW_STR(ciphername); SHOW_BOOL(ncp_enabled); SHOW_STR(ncp_ciphers); -- 2.15.1