Update network.inc.php

subnet -> sumask[4] was giving an unknown index. It should point to the last exploded item in the array.