Update net.cpp

Missing };