net: fixed error

Signed-off-by: Shuai Zhang <zs.broccoli@gmail.com>