Small bug in detection of class-A networks.
This commit is contained in:
parent
cca970666a
commit
92f8f7e3a3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue