Changeset 4153ebe in rtems-libbsd


Ignore:
Timestamp:
Nov 10, 2014, 7:26:15 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
026abfb
Parents:
0bed8d9
git-author:
Sebastian Huber <sebastian.huber@…> (11/10/14 07:26:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/10/14 07:28:38)
Message:

Do not set mulitcast hostname in sethostname()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/kern/kern_mib.c

    r0bed8d9 r4153ebe  
    5757#include <sys/sx.h>
    5858#include <rtems/bsd/sys/unistd.h>
    59 #ifdef __rtems__
    60 #include <rtems/mdns.h>
    61 #endif /* __rtems__ */
    6259
    6360SYSCTL_NODE(, 0,          sysctl, CTLFLAG_RW, 0,
     
    330327                (void) cpr;
    331328                (void) descend;
    332 
    333                 if (pr_offset == offsetof(struct prison, pr_hostname)) {
    334                         rtems_mdns_sethostname(tmpname);
    335                 }
    336329#endif /* __rtems__ */
    337330                mtx_unlock(&pr->pr_mtx);
Note: See TracChangeset for help on using the changeset viewer.