summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/ipv4_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/ipv4_test.c b/src/tests/ipv4_test.c
index ba18f845..a72dcc51 100644
--- a/src/tests/ipv4_test.c
+++ b/src/tests/ipv4_test.c
@@ -138,6 +138,8 @@ static void ipv4_test_exec ( void ) {
inet_aton_fail_ok ( "256.0.0.1" ); /* Byte out of range */
inet_aton_fail_ok ( "212.13.204.60.1" ); /* Too long */
inet_aton_fail_ok ( "127.0.0" ); /* Too short */
+ inet_aton_fail_ok ( "1.2.3.a" ); /* Invalid characters */
+ inet_aton_fail_ok ( "127.0..1" ); /* Missing bytes */
}
/** IPv4 self-test */