Update CLI prompt after switching connection type
This commit is contained in:
3 files changed
+4
No files matched your search
@@ -281,6 +281,8 @@ main_loop(char *script_cmds_file, char *script_cmd, bool stayInCommandLoop) {
|
||||
prompt_net = PROXPROMPT_NET_UDPV6;
|
||||
break;
|
||||
case PM3_NONE:
|
||||
prompt_net = PROXPROMPT_NET_NONE;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
#define PROXPROMPT_NET_UDPV4 "|" _RL_BOLD_GREEN_("udp")
|
||||
#define PROXPROMPT_NET_TCPV6 "|" _RL_BOLD_GREEN_("tcp v6")
|
||||
#define PROXPROMPT_NET_UDPV6 "|" _RL_BOLD_GREEN_("udp v6")
|
||||
#define PROXPROMPT_NET_NONE ""
|
||||
|
||||
|
||||
#define PROXHISTORY "history.txt"
|
||||
|
||||
Reference in new issue
Block a user