mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2026-02-01 15:10:34 +03:00
Disallow to use --no-ipv6 in kernel space
This commit is contained in:
@@ -478,7 +478,15 @@ int yparse_args(int argc, char *argv[]) {
|
||||
#endif
|
||||
break;
|
||||
case OPT_NO_IPV6:
|
||||
#ifndef KERNEL_SPACE
|
||||
rep_config.use_ipv6 = 0;
|
||||
#else
|
||||
lgerr("--no-ipv6 argument is not available "
|
||||
"in the kernel module. "
|
||||
"If you want to disable ipv6, compile with "
|
||||
"make kmake EXTRA_CFLAGS=\"-DNO_IPV6\".");
|
||||
goto invalid_opt;
|
||||
#endif
|
||||
break;
|
||||
case OPT_DAEMONIZE:
|
||||
rep_config.daemonize = 1;
|
||||
|
||||
Reference in New Issue
Block a user