From: Alan T. DeKok Date: Tue, 24 Jan 2023 01:43:23 +0000 (-0500) Subject: it's a day for typos X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21257b880d31b76e34285028d55df3f94b5e7b53;p=thirdparty%2Ffreeradius-server.git it's a day for typos --- diff --git a/src/listen/tacacs/proto_tacacs.c b/src/listen/tacacs/proto_tacacs.c index c0fc5b10e7c..58521a635a1 100644 --- a/src/listen/tacacs/proto_tacacs.c +++ b/src/listen/tacacs/proto_tacacs.c @@ -104,7 +104,7 @@ static int type_parse(UNUSED TALLOC_CTX *ctx, void *out, void *parent, CONF_ITEM value = cf_pair_value(cp); dv = fr_dict_enum_by_name(attr_packet_type, value, -1); - if (!dv || FR_TACACS_PACKET_CODE_VALID(dv->value->vb_uint32)) { + if (!dv || !FR_TACACS_PACKET_CODE_VALID(dv->value->vb_uint32)) { cf_log_err(ci, "Unknown TACACS+ packet type '%s'", value); return -1; }