mpreath/netcalc — Issue #1: Improper MAC address accepted as input
Author: mpreath
Created: 2011-10-29 03:53:23+00:00
State: open

Netcalc accepts an improper MAC address such as 255.224.255.116 :

lap852:src mpreath$ ./netcalc 192.168.10.1 255.224.255.116
Network:	192.160.10.0
Broadcast:	192.191.10.139
Mask:	255.224.255.116[/30]
Hosts:	2031754
192.160.10.1	255.224.255.116
192.160.10.2	255.224.255.116
192.160.10.3	255.224.255.116
192.160.10.4	255.224.255.116