summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-29 08:46:48 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-12-29 08:46:48 -0600
commit5a4c8468835b75bc7d8e6c9f9c5a6c2a6a624def (patch)
tree6c1b4b980b5a17a4bd6d1ddc3f5d16e6da29990e
parent13e2fe73a5a02db4e40e7c4e56a7564076767aa2 (diff)
downloadvyos-utils-5a4c8468835b75bc7d8e6c9f9c5a6c2a6a624def.tar.gz
vyos-utils-5a4c8468835b75bc7d8e6c9f9c5a6c2a6a624def.zip
T4761: fix typo
-rw-r--r--src/url.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.ml b/src/url.ml
index 5d36dae..2f3367b 100644
--- a/src/url.ml
+++ b/src/url.ml
@@ -105,7 +105,7 @@ let host_path_matches s =
| host when regex_matches ipv4_addr_format host -> is_ipv4_addr host
| host when regex_matches host_name_format host -> true
| _ -> false
- with Not_found -> false;
+ with Not_found -> false
let validate_uri scheme uri =
if host_path_matches uri then Ok ()