From 081e4ceca60554838b3aeb80153647bcb309ac5f Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 20 Apr 1995 22:18:34 +0000 Subject: [PATCH] added missing htons git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5411 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/adm_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kadmin/server/adm_server.c b/src/kadmin/server/adm_server.c index ff7542d27..394fbbfe1 100644 --- a/src/kadmin/server/adm_server.c +++ b/src/kadmin/server/adm_server.c @@ -190,7 +190,7 @@ process_args(context, argc, argv) break; case 'p': - admin_port = atoi(optarg); + admin_port = htons(atoi(optarg)); break; case 'h': /* get help on using adm_server */ -- 2.26.2