- } - else - { - if (!write_empty_string(buf)) /* no peer info */ - { + /* invalid value configured */ + default: + msg(M_WARN, "Invalid peer-info-detail level %d", session->opt->push_peer_info_detail); goto error;
This should probably be an ASSERT or fatal error as the user cannot set the push_peer_info_detail variable directly. So if we end up here this is a bug.
Arne _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel