projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fefecd
)
Use the precompile ports as the default if the proper ones aren't in
author
Theodore Tso
<tytso@mit.edu>
Fri, 10 Jun 1994 18:57:09 +0000
(18:57 +0000)
committer
Theodore Tso
<tytso@mit.edu>
Fri, 10 Jun 1994 18:57:09 +0000
(18:57 +0000)
/etc/services.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3713
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/os/locate_kdc.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/os/locate_kdc.c
b/src/lib/krb5/os/locate_kdc.c
index a6c208c442fc93b22fcc0fa6b7dd6377ce86b49b..4f228698af8e59794d43d6a3f0a126b02b738ea2 100644
(file)
--- a/
src/lib/krb5/os/locate_kdc.c
+++ b/
src/lib/krb5/os/locate_kdc.c
@@
-68,8
+68,8
@@
krb5_locate_kdc(realm, addr_pp, naddrs)
struct hostent *hp;
struct servent *sp;
#ifdef KRB5_USE_INET
- u_short udpport =
0; /* 0 is an invalid UDP port #. */
- u_short sec_udpport =
0; /* 0 is an invalid UDP port #. */
+ u_short udpport =
KRB5_DEFAULT_PORT;
+ u_short sec_udpport =
KRB5_DEFAULT_SEC_PORT;
#endif
hostlist = 0;