[PATCH] Network::network_equal: fix definition check of array