(add_standard_ports, process_request): look at enable_kaserver. From
"Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5983 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -97,7 +97,8 @@ add_standard_ports (int family)
|
|||||||
if(enable_http)
|
if(enable_http)
|
||||||
add_port(family, "http", "tcp");
|
add_port(family, "http", "tcp");
|
||||||
#ifdef KASERVER
|
#ifdef KASERVER
|
||||||
add_port(family, "7004", "udp");
|
if (enable_kaserver)
|
||||||
|
add_port(family, "7004", "udp");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -298,7 +299,7 @@ process_request(unsigned char *buf,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef KASERVER
|
#ifdef KASERVER
|
||||||
else {
|
else if (enable_kaserver) {
|
||||||
ret = do_kaserver (buf, len, reply, from, (struct sockaddr_in*)addr);
|
ret = do_kaserver (buf, len, reply, from, (struct sockaddr_in*)addr);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user