summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--configure.ac2
-rw-r--r--slapi-nis.spec5
-rw-r--r--src/portmap.c2
4 files changed, 7 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 65a6179..6b122e2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+0.17 * Actually send portmap registrations to the right address.
0.16 * Fix NIS server startup problem when no listening port is explicitly
configured and we're using portmap instead of rpcbind (#500903).
0.15 * Avoid returning an empty-but-valid result when %deref and %referred
diff --git a/configure.ac b/configure.ac
index ad4195a..6e64409 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(slapi-nis,0.16)
+AC_INIT(slapi-nis,0.17)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE(foreign)
LT_INIT
diff --git a/slapi-nis.spec b/slapi-nis.spec
index be4a825..8d2056c 100644
--- a/slapi-nis.spec
+++ b/slapi-nis.spec
@@ -1,5 +1,5 @@
Name: slapi-nis
-Version: 0.16
+Version: 0.17
Release: 1%{?dist}
Summary: NIS Server and Schema Compatibility plugins for Directory Server
Group: System Environment/Daemons
@@ -46,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/nisserver-plugin-defs
%changelog
+* Thu May 14 2009 Nalin Dahyabhai <nalin@redhat.com> - 0.17-1
+- actually send portmap registrations to the right server
+
* Thu May 14 2009 Nalin Dahyabhai <nalin@redhat.com> - 0.16-1
- fix NIS server startup problem when no port is explicitly configured and
we're using portmap instead of rpcbind (#500903)
diff --git a/src/portmap.c b/src/portmap.c
index 30d9b54..b756247 100644
--- a/src/portmap.c
+++ b/src/portmap.c
@@ -449,7 +449,7 @@ portmap_register_portmap(const char *module, int client_sock,
struct sockaddr_in sin;
memset(&sin, 0, sizeof(sin));
sin.sin_family = AF_INET;
- sin.sin_addr.s_addr = INADDR_LOOPBACK;
+ sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
sin.sin_port = htons(PMAPPORT);
map.pm_prog = program;
map.pm_vers = version;