fix: do not show gateway warning if the interface is not connected to any network

This commit is contained in:
evilsocket 2019-02-06 09:11:38 +01:00
commit 3c798794eb
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 13 additions and 4 deletions

View file

@ -10,8 +10,9 @@ import (
)
const (
PromptVariable = "$"
DefaultPrompt = "{by}{fw}{cidr} {fb}> {env.iface.ipv4} {reset} {bold}» {reset}"
PromptVariable = "$"
DefaultPrompt = "{by}{fw}{cidr} {fb}> {env.iface.ipv4} {reset} {bold}» {reset}"
DefaultPromptMonitor = "{by}{fb} {env.iface.name} {reset} {bold}» {reset}"
)
var (