From 07545f2489d7727daf0407fdec40d1c4b091d1b5 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 7 Oct 2007 22:01:38 +0000 Subject: Default to a port of 0, which tells remctl to use its default. --- client/internal.h | 2 +- client/wallet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/internal.h b/client/internal.h index cbc1030..6f4a991 100644 --- a/client/internal.h +++ b/client/internal.h @@ -22,7 +22,7 @@ struct remctl; # define WALLET_SERVER "wallet.stanford.edu" #endif #ifndef WALLET_PORT -# define WALLET_PORT 4444 +# define WALLET_PORT 0 #endif BEGIN_DECLS diff --git a/client/wallet.c b/client/wallet.c index f7ea410..043453e 100644 --- a/client/wallet.c +++ b/client/wallet.c @@ -27,7 +27,7 @@ Options:\n\ -f For the get command, output file (default: stdout)\n\ -k Kerberos principal of the server\n\ -h Display this help\n\ - -p Port of server (default: %d)\n\ + -p Port of server (default: %d, if zero, remctl default)\n\ -S For the get keytab command, srvtab output file\n\ -s Server hostname (default: " WALLET_SERVER "\n\ -v Display the version of wallet\n"; -- cgit v1.2.3