diff options
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -209,6 +209,23 @@ func mainWindow(title string) { // This is where you figure out what to do next to fix the problems gr.NewButton("fix", func () { + if ! me.status.Ready() { + log.Warn("The IPv6 Control Panel is not Ready() yet") + return + } + if me.status.ValidHostname() { + log.Warn("Your hostname is VALID:", me.status.GetHostname()) + } else { + log.Warn("You must first fix your hostname:", me.status.GetHostname()) + return + } + if ! me.status.IPv4() { + log.Warn("You do not have real IPv4 addresses. Nothing to fix here") + } + if ! me.status.IPv6() { + log.Warn("IPv6 DNS is broken. Check what is broken here") + return + } log.Warn("FIGURE OUT WHAT TO DO HERE") }) |
