Un-inline clear_nat_hack_flags()

This commit is contained in:
Frank Denis 2015-10-08 00:47:30 +02:00
parent 0416b858aa
commit b0aeb4f5eb
2 changed files with 2 additions and 2 deletions

View File

@ -610,7 +610,7 @@ int clear_nat_hack_client(void *d, void *u)
} }
/* Clear the VTUN_NAT_HACK flag which are not relevant to the current operation mode */ /* Clear the VTUN_NAT_HACK flag which are not relevant to the current operation mode */
inline void clear_nat_hack_flags(int svr) void clear_nat_hack_flags(int svr)
{ {
if (svr) if (svr)
llist_trav(&host_list,clear_nat_hack_server,NULL); llist_trav(&host_list,clear_nat_hack_server,NULL);

2
vtun.h
View File

@ -232,6 +232,6 @@ void client(struct vtun_host *host);
int tunnel(struct vtun_host *host); int tunnel(struct vtun_host *host);
int read_config(char *file); int read_config(char *file);
struct vtun_host * find_host(char *host); struct vtun_host * find_host(char *host);
inline void clear_nat_hack_flags(int svr); void clear_nat_hack_flags(int svr);
#endif #endif