Skip to content
Snippets Groups Projects
Commit 5d8fda2a authored by Simon Duquennoy's avatar Simon Duquennoy
Browse files

Native border router: clearer error messages

parent 42436cc4
No related branches found
No related tags found
No related merge requests found
......@@ -562,7 +562,7 @@ slip_init(void)
slip_send(slipfd, SLIP_END);
inslip = fdopen(slipfd, "r");
if(inslip == NULL) {
err(1, "main: fdopen");
err(1, "slip_init: fdopen");
}
}
/*---------------------------------------------------------------------------*/
......@@ -210,7 +210,7 @@ tun_init()
tunfd = tun_alloc(slip_config_tundev);
if(tunfd == -1) {
err(1, "main: open");
err(1, "tun_init: open");
}
select_set_callback(tunfd, &tun_select_callback);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment