diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2013-07-26 10:46:55 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-07-26 10:46:55 +0400 |
commit | 56b69f5f1a585b32bb2fd0a89c9310ba98d7e86d (patch) | |
tree | 8394ceed00a32fe12c9a6cbfa90f38c455454e7a /accel-pppd/session.c | |
parent | 8f8b893405d2e2b792885c4875eb8bdc77ce9d2f (diff) | |
parent | 37e2a417a6cb6a981c85dfdcd3245a48f99a4165 (diff) | |
download | accel-ppp-56b69f5f1a585b32bb2fd0a89c9310ba98d7e86d.tar.gz accel-ppp-56b69f5f1a585b32bb2fd0a89c9310ba98d7e86d.zip |
Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/code
Diffstat (limited to 'accel-pppd/session.c')
-rw-r--r-- | accel-pppd/session.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c index c6d0a3fc..1efad5ef 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -274,7 +274,6 @@ static void generate_sessionid(struct ap_session *ses) int __export ap_session_read_stats(struct ap_session *ses, struct rtnl_link_stats *stats) { struct rtnl_link_stats lstats; - time_t t; if (ses->ifindex == -1) return -1; @@ -282,8 +281,6 @@ int __export ap_session_read_stats(struct ap_session *ses, struct rtnl_link_stat if (!stats) stats = &lstats; - time(&t); - if (iplink_get_stats(ses->ifindex, stats)) { log_ppp_warn("failed to get interface statistics\n"); return -1; |