(main): call krb5_getportbyname with the default in host-byte-order

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7680 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-28 03:39:38 +00:00
parent 9eebdaa7b2
commit 615ff2f164

View File

@@ -726,7 +726,7 @@ main (int argc, char **argv)
}
} else {
#if defined(KRB5)
port = krb5_getportbyname(NULL, "kx", "tcp", htons(KX_PORT));
port = krb5_getportbyname(NULL, "kx", "tcp", KX_PORT);
#elif defined(KRB4)
port = k_getportbyname ("kx", "tcp", htons(KX_PORT));
#else