static int ipvs_talk(int cmd) { int result; if (result = ipvs_command(cmd, urule)) if ((cmd == IP_VS_SO_SET_EDITDEST) && (errno == ENOENT)) result = ipvs_command(IP_VS_SO_SET_ADDDEST, urule); if (result) log_message(LOG_INFO, "IPVS : %s", ipvs_strerror(errno)); return IPVS_SUCCESS; }
static int ipvs_talk(int cmd) { if (ipvs_command(cmd, urule)) log_message(LOG_INFO, "IPVS : %s", ipvs_strerror(errno)); return IPVS_SUCCESS; }