diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 11:40:34 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 11:40:34 +0400 |
commit | 28df233a46f2d136e8169d86ee62861a7c024eff (patch) | |
tree | a8d1131645c7f09fa276208895b31a5b3b2467bc /accel-pppd/cli | |
parent | 1872dd97822f406a2d54bd75ed8220092ec5d4fb (diff) | |
download | accel-ppp-xebd-28df233a46f2d136e8169d86ee62861a7c024eff.tar.gz accel-ppp-xebd-28df233a46f2d136e8169d86ee62861a7c024eff.zip |
add 'ppp' filed to CTRL to identify ppp sessions
Diffstat (limited to 'accel-pppd/cli')
-rw-r--r-- | accel-pppd/cli/show_sessions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/cli/show_sessions.c b/accel-pppd/cli/show_sessions.c index 746ce58..fe20298 100644 --- a/accel-pppd/cli/show_sessions.c +++ b/accel-pppd/cli/show_sessions.c @@ -456,7 +456,7 @@ static void print_comp(const struct ap_session *ses, char *buf) *buf = 0; - if (ses->ctrl->type != CTRL_TYPE_IPOE) { + if (ses->ctrl->ppp) { ppp = container_of(ses, typeof(*ppp), ses); if (ppp->comp) snprintf(buf, CELL_SIZE, "%s", ppp->comp); |