Fix netmask setting

Status Job ID Name Coverage
  Test
canceled #40858831
gitlab-org-high-cpu
test

 
  Package
canceled #40858832
erlang-19 freebsd-11.0
bsd