[openssh-commits] [openssh] 01/01: fix rdomain compilation errors

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Oct 27 08:42:49 AEDT 2017


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 2de5c6b53bf063ac698596ef4e23d8e3099656ea
Author: Damien Miller <djm at mindrot.org>
Date:   Fri Oct 27 08:42:33 2017 +1100

    fix rdomain compilation errors
---
 openbsd-compat/port-net.c | 2 +-
 openbsd-compat/port-net.h | 2 +-
 servconf.c                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/openbsd-compat/port-net.c b/openbsd-compat/port-net.c
index efc9f46f..7050629c 100644
--- a/openbsd-compat/port-net.c
+++ b/openbsd-compat/port-net.c
@@ -74,7 +74,7 @@ sys_set_rdomain(int fd, const char *name)
 }
 
 int
-valid_rdomain(const char *name)
+sys_valid_rdomain(const char *name)
 {
 	int fd;
 
diff --git a/openbsd-compat/port-net.h b/openbsd-compat/port-net.h
index 8aa4085f..3a0d1104 100644
--- a/openbsd-compat/port-net.h
+++ b/openbsd-compat/port-net.h
@@ -37,7 +37,7 @@ u_char	*sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *);
 # define HAVE_SYS_VALID_RDOMAIN
 char *sys_get_rdomain(int fd);
 int sys_set_rdomain(int fd, const char *name);
-int valid_rdomain(const char *name);
+int sys_valid_rdomain(const char *name);
 #endif
 
 #if defined(SYS_RDOMAIN_XXX)
diff --git a/servconf.c b/servconf.c
index 7fc3551d..53d81fb3 100644
--- a/servconf.c
+++ b/servconf.c
@@ -736,7 +736,7 @@ static int
 valid_rdomain(const char *name)
 {
 #if defined(HAVE_SYS_VALID_RDOMAIN)
-	return valid_rdomain(name)
+	return sys_valid_rdomain(name);
 #elif defined(__OpenBSD__)
 	const char *errstr;
 	long long num;

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list