version 1.1.1.4, 2021/03/17 00:39:23
|
version 1.1.1.4.2.1, 2023/09/27 11:08:00
|
Line 223
|
Line 223
|
#endif |
#endif |
{ "ecp", "ECP status", |
{ "ecp", "ECP status", |
EcpStat, AdmitBund, 0, NULL }, |
EcpStat, AdmitBund, 0, NULL }, |
|
#ifdef USE_RADIUS |
{ "eap", "EAP status", |
{ "eap", "EAP status", |
EapStat, AdmitLink, 0, NULL }, |
EapStat, AdmitLink, 0, NULL }, |
|
#endif |
{ "events", "Current events", |
{ "events", "Current events", |
ShowEvents, NULL, 0, NULL }, |
ShowEvents, NULL, 0, NULL }, |
{ "ipcp", "IPCP status", |
{ "ipcp", "IPCP status", |
Line 253
|
Line 255
|
LinkStat, AdmitLink, 0, NULL }, |
LinkStat, AdmitLink, 0, NULL }, |
{ "auth", "Auth status", |
{ "auth", "Auth status", |
AuthStat, AdmitLink, 0, NULL }, |
AuthStat, AdmitLink, 0, NULL }, |
|
#ifdef USE_RADIUS |
{ "radius", "RADIUS status", |
{ "radius", "RADIUS status", |
RadStat, AdmitLink, 0, NULL }, |
RadStat, AdmitLink, 0, NULL }, |
|
#endif |
#ifdef RAD_COA_REQUEST |
#ifdef RAD_COA_REQUEST |
{ "radsrv", "RADIUS server status", |
{ "radsrv", "RADIUS server status", |
RadsrvStat, NULL, 0, NULL }, |
RadsrvStat, NULL, 0, NULL }, |
Line 293
|
Line 297
|
}; |
}; |
|
|
static const struct cmdtab UnSetCommands[] = { |
static const struct cmdtab UnSetCommands[] = { |
|
#ifdef USE_RADIUS |
{ "radius ...", "RADIUS specific stuff", |
{ "radius ...", "RADIUS specific stuff", |
CMD_SUBMENU, AdmitLink, 2, RadiusUnSetCmds }, |
CMD_SUBMENU, AdmitLink, 2, RadiusUnSetCmds }, |
|
#endif |
#ifdef NG_NAT_DESC_LENGTH |
#ifdef NG_NAT_DESC_LENGTH |
{ "nat ...", "NAT specific stuff", |
{ "nat ...", "NAT specific stuff", |
CMD_SUBMENU, AdmitBund, 2, NatUnSetCmds }, |
CMD_SUBMENU, AdmitBund, 2, NatUnSetCmds }, |
Line 303
|
Line 309
|
}; |
}; |
|
|
static const struct cmdtab SetCommands[] = { |
static const struct cmdtab SetCommands[] = { |
|
{ "auth ...", "Auth specific stuff", |
|
CMD_SUBMENU, AdmitLink, 2, AuthSetCmds }, |
{ "bundle ...", "Bundle specific stuff", |
{ "bundle ...", "Bundle specific stuff", |
CMD_SUBMENU, AdmitBund, 2, BundSetCmds }, |
CMD_SUBMENU, AdmitBund, 2, BundSetCmds }, |
{ "link ...", "Link specific stuff", |
{ "link ...", "Link specific stuff", |
Line 323
|
Line 331
|
#endif |
#endif |
{ "ecp ...", "ECP specific stuff", |
{ "ecp ...", "ECP specific stuff", |
CMD_SUBMENU, AdmitBund, 2, EcpSetCmds }, |
CMD_SUBMENU, AdmitBund, 2, EcpSetCmds }, |
|
#ifdef USE_RADIUS |
{ "eap ...", "EAP specific stuff", |
{ "eap ...", "EAP specific stuff", |
CMD_SUBMENU, AdmitLink, 2, EapSetCmds }, |
CMD_SUBMENU, AdmitLink, 2, EapSetCmds }, |
{ "auth ...", "Auth specific stuff", |
|
CMD_SUBMENU, AdmitLink, 2, AuthSetCmds }, |
|
{ "radius ...", "RADIUS specific stuff", |
{ "radius ...", "RADIUS specific stuff", |
CMD_SUBMENU, AdmitLink, 2, RadiusSetCmds }, |
CMD_SUBMENU, AdmitLink, 2, RadiusSetCmds }, |
#ifdef RAD_COA_REQUEST |
#ifdef RAD_COA_REQUEST |
{ "radsrv ...", "RADIUS server specific stuff", |
{ "radsrv ...", "RADIUS server specific stuff", |
CMD_SUBMENU, NULL, 2, RadsrvSetCmds }, |
CMD_SUBMENU, NULL, 2, RadsrvSetCmds }, |
|
#endif |
#endif |
#endif |
{ "console ...", "Console specific stuff", |
{ "console ...", "Console specific stuff", |
CMD_SUBMENU, NULL, 0, ConsoleSetCmds }, |
CMD_SUBMENU, NULL, 0, ConsoleSetCmds }, |