mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-29 21:52:18 +00:00
I fixed the compilation errors, And netsukuku now works correctly! Probably
This commit is contained in:
parent
5531cad3b8
commit
eb91be8f93
@ -665,7 +665,7 @@ static int iptcc_compile_chain(TC_HANDLE_T h, STRUCT_REPLACE *repl, struct chain
|
|||||||
strcpy(head->name.target.u.user.name, ERROR_TARGET);
|
strcpy(head->name.target.u.user.name, ERROR_TARGET);
|
||||||
head->name.target.u.target_size =
|
head->name.target.u.target_size =
|
||||||
ALIGN(sizeof(struct ipt_error_target));
|
ALIGN(sizeof(struct ipt_error_target));
|
||||||
strcpy(head->name.error, c->name);
|
strcpy(head->name.errorname, c->name);
|
||||||
} else {
|
} else {
|
||||||
repl->hook_entry[c->hooknum-1] = c->head_offset;
|
repl->hook_entry[c->hooknum-1] = c->head_offset;
|
||||||
repl->underflow[c->hooknum-1] = c->foot_offset;
|
repl->underflow[c->hooknum-1] = c->foot_offset;
|
||||||
|
@ -164,7 +164,7 @@ void usage(void)
|
|||||||
" -D Prevents running as daemon (Does not fork to the background)\n"
|
" -D Prevents running as daemon (Does not fork to the background)\n"
|
||||||
"\n"
|
"\n"
|
||||||
" -r Runs in restricted mode\n"
|
" -r Runs in restricted mode\n"
|
||||||
" -m Share your internet connection with other nodes\n"
|
" -I Share your internet connection with other nodes\n"
|
||||||
"\n"
|
"\n"
|
||||||
" -c configuration file\n"
|
" -c configuration file\n"
|
||||||
" -l Enables logging to file\n"
|
" -l Enables logging to file\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user