Changeset 4153ebe in rtems-libbsd


Ignore:
Timestamp:
Nov 10, 2014, 7:26:15 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, b96abfd647154f10ea8f7fac68e25676636eded5, 9dd0bc27e3338bad08eaaf52d03265d2e7b9b4f7, f1f03620800b14146977d78fb4322d80da04b53a, freebsd-9.3, 90a9fd66e0a85d8520bbb4bbcb72bfd274965961
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.