Skip to content
Snippets Groups Projects
Unverified Commit 98f35fe0 authored by George Oikonomou's avatar George Oikonomou Committed by GitHub
Browse files

Merge pull request #746 from simonduq/contrib/nbr-error-msg

Native border router: clearer error messages
parents 42436cc4 5d8fda2a
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