char * => const char *

This commit is contained in:
Thomas Bernard 2017-07-05 23:06:07 +02:00
parent 9ac353cb5e
commit 8870da723e
1 changed files with 2 additions and 2 deletions

View File

@ -57,9 +57,9 @@
#if defined(USE_NETFILTER)
/* Hardcoded for now. Ideally would come from .conf file */
# ifdef TOMATO
char *chains_to_check[] = { "WANPREROUTING" , 0 };
const char *chains_to_check[] = { "WANPREROUTING" , 0 };
# else
char *chains_to_check[] = { "PREROUTING" , 0 };
const char *chains_to_check[] = { "PREROUTING" , 0 };
# endif
#endif