Browse Source

fix cp/paste error

Matthew R. Kasun 2 years ago
parent
commit
e380164472
1 changed files with 1 additions and 1 deletions
  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 {