[rtems-libbsd commit] Do not set mulitcast hostname in sethostname()
Sebastian Huber
sebh at rtems.org
Thu Nov 20 14:24:00 UTC 2014
Module: rtems-libbsd
Branch: master
Commit: 4153ebe419da8223de815cde3a9317cea0d9f08f
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=4153ebe419da8223de815cde3a9317cea0d9f08f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Nov 10 08:26:15 2014 +0100
Do not set mulitcast hostname in sethostname()
---
freebsd/sys/kern/kern_mib.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/freebsd/sys/kern/kern_mib.c b/freebsd/sys/kern/kern_mib.c
index a1430f9..8d19a3b 100644
--- a/freebsd/sys/kern/kern_mib.c
+++ b/freebsd/sys/kern/kern_mib.c
@@ -56,9 +56,6 @@ __FBSDID("$FreeBSD$");
#include <sys/smp.h>
#include <sys/sx.h>
#include <rtems/bsd/sys/unistd.h>
-#ifdef __rtems__
-#include <rtems/mdns.h>
-#endif /* __rtems__ */
SYSCTL_NODE(, 0, sysctl, CTLFLAG_RW, 0,
"Sysctl internal magic");
@@ -329,10 +326,6 @@ sysctl_hostname(SYSCTL_HANDLER_ARGS)
#else /* __rtems__ */
(void) cpr;
(void) descend;
-
- if (pr_offset == offsetof(struct prison, pr_hostname)) {
- rtems_mdns_sethostname(tmpname);
- }
#endif /* __rtems__ */
mtx_unlock(&pr->pr_mtx);
#ifndef __rtems__
More information about the vc
mailing list