From: Alexandr D. Kanevskiy Date: Sun, 1 Sep 2002 08:56:01 +0000 (+0000) Subject: foggotten ? fix X-Git-Tag: ppp-2.4.7~400 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=33ec2ebb02d53e28f1b20c46652b882b34732ae4 foggotten ? fix --- diff --git a/pppd/plugins/radius/radius.c b/pppd/plugins/radius/radius.c index c9cd409..73f2b94 100644 --- a/pppd/plugins/radius/radius.c +++ b/pppd/plugins/radius/radius.c @@ -24,7 +24,7 @@ * ***********************************************************************/ static char const RCSID[] = -"$Id: radius.c,v 1.13 2002/07/25 16:29:15 dfs Exp $"; +"$Id: radius.c,v 1.14 2002/09/01 08:56:01 kad Exp $"; #include "pppd.h" #include "chap.h" @@ -513,7 +513,7 @@ radius_setparams(chap_state *cstate, VALUE_PAIR *vp, char *msg, break; case PW_OCTETS_DIRECTION: /* Session traffic limit direction check */ - maxoctets_dir = ( vp->lvalue > 4 ) 0 : vp->lvalue ; + maxoctets_dir = ( vp->lvalue > 4 ) ? 0 : vp->lvalue ; break; #endif case PW_ACCT_INTERIM_INTERVAL: