X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fplugins%2Fradius%2Fbuildreq.c;h=c1fda5abb547347a6448de76b38d7145a3c1673d;hb=HEAD;hp=562790aa7887ea8d174021cce062a85abbcf843c;hpb=c1c8357d05ed0039af411d3fd91d83e27be5edab;p=ppp.git diff --git a/pppd/plugins/radius/buildreq.c b/pppd/plugins/radius/buildreq.c index 562790a..fe6a854 100644 --- a/pppd/plugins/radius/buildreq.c +++ b/pppd/plugins/radius/buildreq.c @@ -1,6 +1,4 @@ /* - * $Id: buildreq.c,v 1.1 2004/11/14 07:26:26 paulus Exp $ - * * Copyright (C) 1995,1997 Lars Fenneberg * * See the file COPYRIGHT for the respective terms and conditions. @@ -327,7 +325,7 @@ int rc_acct_using_server(SERVER *acctserver, if ((adt_vp = rc_avpair_add(&(data.send_pairs), PW_ACCT_DELAY_TIME, &dtime.tv_sec, 0, VENDOR_NONE)) == NULL) return (ERROR_RC); - get_time(&start_time); + ppp_get_time(&start_time); result = ERROR_RC; for(i=0; (imax) && (result != OK_RC) && (result != BADRESP_RC) ; i++) @@ -339,7 +337,7 @@ int rc_acct_using_server(SERVER *acctserver, rc_buildreq(&data, PW_ACCOUNTING_REQUEST, acctserver->name[i], acctserver->port[i], timeout, retries); - get_time(&dtime); + ppp_get_time(&dtime); dtime.tv_sec -= start_time.tv_sec; rc_avpair_assign(adt_vp, &dtime.tv_sec, 0);