~network-manager/network-manager/ubuntu.hardy-backports.07

« back to all changes in this revision

Viewing changes to debian/patches/lp276253_fix_system_hostname.patch

* update hostname fix patch to always use the value from /etc/hostname
  - update debian/patches/lp276253_fix_system_hostname.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        int ret = 0;
17
17
        const char *name = new_hostname ? new_hostname : FALLBACK_HOSTNAME;
18
18
+#ifdef TARGET_DEBIAN
19
 
+       if (!new_hostname) {
 
19
+       if (!new_hostname || new_hostname) {
20
20
+               static char* sysconf_hostname = NULL;
21
21
+               char *contents = NULL;
22
22
+               gsize contents_len;