Removed the PLUGIN_SUPPORT code, since plugin support is now mandatory.

이 커밋은 다음에 포함됨:
Jan Vidar Krey
2011-12-21 10:48:37 +01:00
부모 f31fc65e1d
커밋 f34f0328a3
8개의 변경된 파일1개의 추가작업 그리고 109개의 파일을 삭제
-4
파일 보기
@@ -176,9 +176,7 @@ void net_on_accept(struct net_connection* con, int event, void *arg)
struct hub_probe* probe = 0;
struct ip_addr_encap ipaddr;
int server_fd = net_con_get_sd(con);
#ifdef PLUGIN_SUPPORT
plugin_st status;
#endif
for (;;)
{
@@ -200,7 +198,6 @@ void net_on_accept(struct net_connection* con, int event, void *arg)
}
}
#ifdef PLUGIN_SUPPORT
status = plugin_check_ip_early(hub, &ipaddr);
if (status == st_deny)
{
@@ -210,7 +207,6 @@ void net_on_accept(struct net_connection* con, int event, void *arg)
}
plugin_log_connection_accepted(hub, &ipaddr);
#endif
probe = probe_create(hub, fd, &ipaddr);
if (!probe)