|
Lines 752-757
Link Here
|
| 752 |
return 0; |
752 |
return 0; |
| 753 |
} |
753 |
} |
| 754 |
|
754 |
|
|
|
755 |
static int |
| 756 |
ShowUrgent(struct cmdargs const *arg) |
| 757 |
{ |
| 758 |
prompt_Printf(arg->prompt,"TCP:\n"); |
| 759 |
ipcp_ListUrgentTcpPorts(&arg->bundle->ncp.ipcp, arg->prompt); |
| 760 |
prompt_Printf(arg->prompt,"\nUDP:\n"); |
| 761 |
ipcp_ListUrgentUdpPorts(&arg->bundle->ncp.ipcp, arg->prompt); |
| 762 |
return 0; |
| 763 |
} |
| 764 |
|
| 755 |
static struct cmdtab const ShowCommands[] = { |
765 |
static struct cmdtab const ShowCommands[] = { |
| 756 |
{"bundle", NULL, bundle_ShowStatus, LOCAL_AUTH, |
766 |
{"bundle", NULL, bundle_ShowStatus, LOCAL_AUTH, |
| 757 |
"bundle details", "show bundle"}, |
767 |
"bundle details", "show bundle"}, |
|
Lines 793-798
Link Here
|
| 793 |
"STOPPED timeout", "show stopped"}, |
803 |
"STOPPED timeout", "show stopped"}, |
| 794 |
{"timers", NULL, ShowTimerList, LOCAL_AUTH, |
804 |
{"timers", NULL, ShowTimerList, LOCAL_AUTH, |
| 795 |
"alarm timers", "show timers"}, |
805 |
"alarm timers", "show timers"}, |
|
|
806 |
{"urgent", NULL, ShowUrgent, LOCAL_AUTH, |
| 807 |
"urgent ports", "show urgent"}, |
| 796 |
{"version", NULL, ShowVersion, LOCAL_NO_AUTH | LOCAL_AUTH, |
808 |
{"version", NULL, ShowVersion, LOCAL_NO_AUTH | LOCAL_AUTH, |
| 797 |
"version string", "show version"}, |
809 |
"version string", "show version"}, |
| 798 |
{"who", NULL, log_ShowWho, LOCAL_AUTH, |
810 |
{"who", NULL, log_ShowWho, LOCAL_AUTH, |