From d494df63ac3061accdff348511a565c021411b28 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 27 Apr 2012 00:04:51 +0200 Subject: Some minor fixes. --- lib/ipv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ipv4.c') diff --git a/lib/ipv4.c b/lib/ipv4.c index 8488a286..751351ca 100644 --- a/lib/ipv4.c +++ b/lib/ipv4.c @@ -60,7 +60,7 @@ ipv4_class_mask(u32 a) if (a < 0x80000000) m = 0xff000000; - if (a < 0xc0000000) + else if (a < 0xc0000000) m = 0xffff0000; else m = 0xffffff00; -- cgit v1.2.3