Refs BZ#1142295 - Configure DEFROUTE according to subnet assignment

should be fi not end