Make bad copy-mode be an error in runmode-tile.

pull/1250/head
Ken Steele 11 years ago committed by Victor Julien
parent c779065d35
commit 1faa94c314

@ -130,7 +130,8 @@ void *ParseMpipeConfig(const char *iface)
aconf->out_iface);
aconf->copy_mode = MPIPE_COPY_MODE_TAP;
} else {
SCLogInfo("Invalid mode (no in tap, ips)");
SCLogError(SC_ERR_RUNMODE, "Invalid mode (expected tap or ips)");
exit(EXIT_FAILURE);
}
}
return aconf;

Loading…
Cancel
Save