Un-inline clear_nat_hack_flags()
This commit is contained in:
parent
0416b858aa
commit
b0aeb4f5eb
@ -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
2
vtun.h
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user