Mercurial > hg > waaad
changeset 430:e92b5cdd7843
Fix bad condition
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 24 Jun 2009 17:10:16 +0900 |
parents | afa2b5ffe44c |
children | 1f16b74eabe2 |
files | extensions/radius_gw/sub_auth.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/radius_gw/sub_auth.c Wed Jun 24 16:40:10 2009 +0900 +++ b/extensions/radius_gw/sub_auth.c Wed Jun 24 17:10:16 2009 +0900 @@ -1054,7 +1054,7 @@ CHECK_FCT( msg_avp_data ( avp, &adata ) ); - if (adata->avp_flags & AVP_FLAG_VENDOR == 0) { + if (!(adata->avp_flags & AVP_FLAG_VENDOR)) { switch (adata->avp_code) { /* RFC 4005 (AVP in the order of the AA-Request/Answer AVP Table) */