if (!$obj_customer->id_service_customer) {
     $obj_customer->obj_service->id = $data["serviceid"];
     if (!$obj_customer->obj_service->verify_id()) {
         log_write("error", "process", "Unable to find service " . $obj_customer->obj_service->id . "");
     } else {
         $obj_customer->obj_service->load_data();
     }
 }
 // verify that this is a data_traffic server
 if ($obj_customer->obj_service->data["typeid_string"] != "data_traffic") {
     log_write("error", "page_output", "The requested service is not a data_traffic service.");
     return 0;
 }
 // verify that the ID of the address is valid (if supplied)
 if ($obj_ipv4->id) {
     if (!$obj_ipv4->verify_id()) {
         log_write("error", "page_output", "The supplied IPv4 address ID is not valid");
         return 0;
     }
 }
 // verify valid IP subnet
 // TODO: write me
 /*
 	Check for any errors
 */
 if (error_check()) {
     $_SESSION["error"]["form"]["service_ipv4_edit"] = "failed";
     header("Location: ../index.php?page=customers/service-ipv4-edit.php&id_customer=" . $obj_customer->id . "&id_service_customer=" . $obj_customer->id_service_customer . "&id_ipv4=" . $obj_ipv4->id);
     exit(0);
 } else {
     /*