Update net.cpp

added cr