David Kerr
|
36d8b511b3
|
Move un_zero_pad into extract_ipv4 , extract_ipv6
This also causes `is_ipv4` to reject IPv4 addresses with leading
zeros.
|
2020-06-30 15:44:24 -04:00 |
|
David Kerr
|
0a999577c7
|
Simplify the IPv4 regular expression
|
2020-06-30 15:43:07 -04:00 |
|
David Kerr
|
5da22a8a69
|
Implement is_ipv6 in terms of extract_ivp6
|
2020-06-30 15:26:40 -04:00 |
|
David Kerr
|
ab0a4597ce
|
Validate the ip setting
|
2020-06-30 15:22:13 -04:00 |
|
David Kerr
|
fe513f733d
|
Use is_ipv6 , not extract_ipv6 , to validate IPv6 address
|
2020-06-30 15:19:38 -04:00 |
|
David Kerr
|
af1332264f
|
Delete unnecessary address check
`get_ip` is guaranteed to return a valid IP address or `undef`.
|
2020-06-30 15:16:55 -04:00 |
|
Richard Hansen
|
44eaf653f1
|
Rename *.template to *.in
Apparently the `.template` extension is commonly used in macOS for a
word processor template file.
See issue #206.
|
2020-06-30 13:27:08 -04:00 |
|