Update netbase.cpp