diff options
author | Russ Allbery <rra@stanford.edu> | 2007-10-07 22:01:38 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2007-10-07 22:01:38 +0000 |
commit | 07545f2489d7727daf0407fdec40d1c4b091d1b5 (patch) | |
tree | 9ef5903d0bff21378af7966398c3b81646d92568 /client | |
parent | ac5e59e8c48e376e14f090497304742d073b50f3 (diff) |
Default to a port of 0, which tells remctl to use its default.
Diffstat (limited to 'client')
-rw-r--r-- | client/internal.h | 2 | ||||
-rw-r--r-- | 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 <output> For the get command, output file (default: stdout)\n\ -k <principal> Kerberos principal of the server\n\ -h Display this help\n\ - -p <port> Port of server (default: %d)\n\ + -p <port> Port of server (default: %d, if zero, remctl default)\n\ -S <srvtab> For the get keytab command, srvtab output file\n\ -s <server> Server hostname (default: " WALLET_SERVER "\n\ -v Display the version of wallet\n"; |