Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Feb 8, 2024
2 parents 2815230 + 775a269 commit af6576b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sys/net/hasp_wireguard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

char wg_ip[16] = WIREGUARD_IP;
char wg_private_key[45] = WIREGUARD_PRIVATE_KEY;
char wg_ep_ip[16] = WIREGUARD_EP_IP;
char wg_ep_ip[40] = WIREGUARD_EP_IP;
uint16_t wg_ep_port = WIREGUARD_EP_PORT;
char wg_ep_public_key[45] = WIREGUARD_EP_PUBLIC_KEY;
static WireGuard wg;
Expand Down
2 changes: 1 addition & 1 deletion src/sys/svc/hasp_http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2357,7 +2357,7 @@ static void http_handle_wireguard()
</div>
<div class="row">
<div class="col-25"><label for="host" v-t="'wg.host'"></label></div>
<div class="col-75"><input type="text" id="host" maxlength="15" placeholder="Remote IP" v-model="config.wg.host" pattern="^((\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$"></div>
<div class="col-75"><input type="text" id="host" maxlength="40" placeholder="Remote IP" v-model="config.wg.host"></div>
</div>
<div class="row">
<div class="col-25"><label for="port" v-t="'wg.port'"></label></div>
Expand Down

0 comments on commit af6576b

Please sign in to comment.