summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-09-10 13:45:52 +0200
committerKlaus Kämpf <kkaempf@suse.de>2010-09-10 13:45:52 +0200
commit7281b6477bd351c1636b5b01a6c12313fa976027 (patch)
tree9c6ec54d6538b9daa97dfd44542c672388dd013a /src
parent263a1caafa17295e3c780386ffa551fd7c12c3bc (diff)
downloadwsmancli-7281b6477bd351c1636b5b01a6c12313fa976027.tar.gz
wsmancli-7281b6477bd351c1636b5b01a6c12313fa976027.tar.xz
wsmancli-7281b6477bd351c1636b5b01a6c12313fa976027.zip
Adapt to IANA ports of 5985 (http) and 5986 (https)
Diffstat (limited to 'src')
-rw-r--r--src/wseventmgr.c2
-rw-r--r--src/wsman.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wseventmgr.c b/src/wseventmgr.c
index 60dac93..e7aef7d 100644
--- a/src/wseventmgr.c
+++ b/src/wseventmgr.c
@@ -292,7 +292,7 @@ static char wsman_parse_options(int argc, char **argv)
// set default options
if (server_port == 0) {
- server_port = cainfo ? 8888 : 8889;
+ server_port = cainfo ? 5985 : 5986;
}
if (url_path == NULL) {
url_path = "/wsman";
diff --git a/src/wsman.c b/src/wsman.c
index 6e7b3a7..34ecd57 100644
--- a/src/wsman.c
+++ b/src/wsman.c
@@ -395,7 +395,7 @@ static char wsman_parse_options(int argc, char **argv)
// set default options
if (server_port == 0) {
- server_port = cainfo ? 8888 : 8889;
+ server_port = cainfo ? 5985 : 5986;
}
if (url_path == NULL) {
if (strcmp(argv[1], "anonid") == 0)