added missing htons
authorMark Eichin <eichin@mit.edu>
Thu, 20 Apr 1995 22:18:34 +0000 (22:18 +0000)
committerMark Eichin <eichin@mit.edu>
Thu, 20 Apr 1995 22:18:34 +0000 (22:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5411 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/server/adm_server.c

index ff7542d27fdc92ffdab9f2e74dd9e2768823c40b..394fbbfe1bf71c7cdc7a465532a66fa07d02f2c0 100644 (file)
@@ -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 */