Merge branch 'master' into master

This commit is contained in:
Max authored and GitHub committed 2018-10-14 21:14:28 +02:00
commit 0c23f17362
4 files changed
+35 -27

No files matched your search

+5
View File
@@ -140,6 +140,11 @@ check_peer_public_key(const char *str){
static gboolean
check_interface_listen_port(const char *str)
{
// Listen port is not a required field according to man wg
if(is_empty(str)){
return TRUE;
}
if(!g_ascii_string_to_unsigned(str, 10, 0, 65535, NULL, NULL)){
return FALSE;
}