summaryrefslogtreecommitdiff
path: root/src/ipaddrcheck_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipaddrcheck_functions.c')
-rw-r--r--src/ipaddrcheck_functions.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/ipaddrcheck_functions.c b/src/ipaddrcheck_functions.c
index 2ba8de2..bb86ee7 100644
--- a/src/ipaddrcheck_functions.c
+++ b/src/ipaddrcheck_functions.c
@@ -37,24 +37,6 @@
* the format was.
*/
-/* Does it have mask? */
-int has_mask(char* address_str)
-{
- int result;
- char *hasslash = strchr(address_str, '/');
-
- if( hasslash != NULL )
- {
- result = RESULT_SUCCESS;
- }
- else
- {
- result = RESULT_FAILURE;
- }
-
- return(result);
-}
-
/* Does it look like IPv4 CIDR (e.g. 192.0.2.1/24)? */
int is_ipv4_cidr(char* address_str)
{