瀏覽代碼

fix cp/paste error

Matthew R. Kasun 2 年之前
父節點
當前提交
e380164472
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 				wireguard.Section(section_interface).Key("PostDown").AddShadow(part)
 			}
 			}
 		} else {
 		} else {
-			wireguard.Section(section_interface).Key("PostUp").SetValue(node.PostDown)
+			wireguard.Section(section_interface).Key("PostDown").SetValue(node.PostDown)
 		}
 		}
 	}
 	}
 	if node.MTU != 0 {
 	if node.MTU != 0 {