David Kerr
541e3563ca
Manual sync with master
2020-07-03 14:35:09 -04:00
David Kerr
115c858b2f
Resolve merge conflicts
2020-06-30 21:20:19 -04:00
David Kerr
aac0a11c73
remove T_IFV4 and T_IFV6 because can be the same as T_IF (+5 squashed commits)
...
Squashed commits:
[469890b] Spelling of deprecated
[a80f1fb] update to latest design spec
[e6193cb] Remove warning message from call to sprintf()
[8d0d168] Updates to new IPv6 settings
[76b75ce] Add all the settings proposed by the IPv6 design document
Updates to new IPv6 settings
Remove warning message from call to sprintf()
update to latest design spec
Spelling of deprecated
remove T_IFV4 and T_IFV6 because can be the same as T_IF
2020-06-30 21:20:19 -04:00
Richard Hansen
7a2d065a2d
Fix woima protocol implementation for loop
2020-06-30 18:41:40 -04:00
Richard Hansen
ccc876c160
Remove the /a regex flag
...
This flag was added in Perl 5.14 so we can't use it.
2020-06-30 18:34:41 -04:00
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