summaryrefslogtreecommitdiff
path: root/accel-pppd/cli/show_sessions.c
AgeCommit message (Collapse)Author
2017-10-16move build_ip6_addr function to ipdb.cDmitry Kozlov
2017-09-25cli: introduced ip6 and ip6-dp fields in "show sessions" commandDmitry Kozlov
2015-11-30cli: show sesisons: introduced rx-bytes-raw,tx-bytes-raw fieldsDmitry Kozlov
2015-11-30cli: show sesisons: introduced rx-bytes,rx-pkts,tx-bytes,tx-pkts fieldsDmitry Kozlov
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-10-03get rid of time(), use clock_gettime(CLOCK_MONOTONIC) insteadDmitry Kozlov
2013-02-17cli: Add the sessions-columns configuration optionGuillaume Nault
Define the "sessions-columns" option (in the [cli] section) to let the user select the default set of columns that will be displayed by the "show sessions" command. Unrecognised column names are silently discarded. Configuration example: [cli] telnet=127.0.0.1:2000 password=secret sessions-columns=ifname,ip,username Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-02-17cli: Fix "show sessions" if no column to displayGuillaume Nault
Gracefully handle the case where no column has been selected for the "show sessions" command. Such situation will be possible once the set of default displayed columns will be made configurable from accel-ppp.conf. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-01-24cli: show properly comp fieldKozlov Dmitry
2013-01-24merge upstreamKozlov Dmitry
2013-01-24move 'comp' field from struct ppp_t to struct ap_sessionroot
Conflicts: accel-pppd/ctrl/openvpn/openvpn.c
2012-08-29add 'ppp' filed to CTRL to identify ppp sessionsKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-05-14cli: add 'comp' field to 'show sessions' to indicate compression/encryption ↵Kozlov Dmitry
method
2012-01-20cli: fix 'show sessions match'Kozlov Dmitry
2011-08-23ppp: ipv6: multiple prefixes, route option, rdnss option implementationKozlov Dmitry
2011-06-03cli:show sessions: fixed bug when match or order key is not in field list to ↵Kozlov Dmitry
show
2011-05-30rewrited initialization procedure (fix gcc-4.6 builds)Kozlov Dmitry
2011-01-13cli: show sessions: initialize buffer to zero if username is still emptyDmitry Kozlov
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov