merge develop into master #21

Merged
JakeHillion merged 149 commits from develop into master 2021-05-12 00:22:59 +01:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 51a66c8911 - Show all commits

View File

@ -40,7 +40,7 @@ type Configuration struct {
type Host struct {
Crypto string `validate:"required,oneof=None Blake2s"`
SharedKey string `validate:"required_if=Crypto Blake2s"`
MTU uint `validate:"required,min=576"`
MTU uint `validate:"required,min=576"`
}
type Peer struct {

View File

@ -49,7 +49,6 @@ func NewFromFile(fd uintptr, mtu int) (ss *SourceSink, err error) {
panic(err)
}
if strings.Contains(iface.Flags.String(), "up") {
log.Println("tun is up")
ss.up = true