Browse Source

fix cp/paste error

Matthew R. Kasun 2 năm trước cách đây
mục cha
commit
89d0b04732
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {