Explorar o código

fix cp/paste error

Matthew R. Kasun %!s(int64=3) %!d(string=hai) anos
pai
achega
e380164472
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netclient/wireguard/common.go

+ 1 - 1
netclient/wireguard/common.go

@@ -484,7 +484,7 @@ func UpdateWgInterface(file, privateKey, nameserver string, node models.Node) er
 				wireguard.Section(section_interface).Key("PostDown").AddShadow(part)
 			}
 		} else {
-			wireguard.Section(section_interface).Key("PostUp").SetValue(node.PostDown)
+			wireguard.Section(section_interface).Key("PostDown").SetValue(node.PostDown)
 		}
 	}
 	if node.MTU != 0 {