mirror of
https://github.com/Ysurac/openmptcprouter-vps-admin.git
synced 2025-03-09 15:40:05 +00:00
Fix set VPN IPs
This commit is contained in:
parent
e76f6d1333
commit
710ead09aa
2 changed files with 9 additions and 3 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
omr-vps-admin (0.2+20200611) unstable; urgency=medium
|
||||
|
||||
* Fix on VPN IPs settings
|
||||
|
||||
-- OpenMPTCProuter <contact@openmptcprouter.com> Thu, 11 Jun 2020 20:27:08 +0200
|
||||
|
||||
omr-vps-admin (0.1+20200608.git.e1e3bfa) unstable; urgency=medium
|
||||
|
||||
* initial package
|
||||
|
|
|
@ -1394,9 +1394,9 @@ def lan(*, lanconfig: Lanips, current_user: User = Depends(get_current_user)):
|
|||
class VPNips(BaseModel):
|
||||
remoteip: str
|
||||
localip: str
|
||||
remoteip6: str
|
||||
localip6: str
|
||||
ula: str
|
||||
remoteip6: str = ""
|
||||
localip6: str = ""
|
||||
ula: str = ""
|
||||
|
||||
# Set user vpn IPs
|
||||
@app.post('/vpnips')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue