diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-12 13:58:25 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-12 13:58:25 +0000 |
commit | ae7ca82046265074a941a58c153c4d66ff305859 (patch) | |
tree | cdee6fa005b6167f015056088deadcfdf9b86c6d /package/dnsmasq/patches/103-hosts-fqdn.patch | |
parent | fe0ae487553eed7dda5fc06eb0a6ee1da446eec2 (diff) |
upgrade dnsmasq (#1975)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq/patches/103-hosts-fqdn.patch')
-rw-r--r-- | package/dnsmasq/patches/103-hosts-fqdn.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/package/dnsmasq/patches/103-hosts-fqdn.patch b/package/dnsmasq/patches/103-hosts-fqdn.patch deleted file mode 100644 index 243e73b02e..0000000000 --- a/package/dnsmasq/patches/103-hosts-fqdn.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: dnsmasq-2.38/src/cache.c -=================================================================== ---- dnsmasq-2.38.orig/src/cache.c 2007-06-04 13:22:23.510281176 +0200 -+++ dnsmasq-2.38/src/cache.c 2007-06-04 13:22:24.014204568 +0200 -@@ -749,10 +749,11 @@ - while ((token = strtok(NULL, " \t\n\r")) && (*token != '#')) - { - struct crec *cache; -+ int fqdn = !!strchr(token, '.'); - if (canonicalise(token)) - { - /* If set, add a version of the name with a default domain appended */ -- if ((opts & OPT_EXPAND) && domain_suffix && !strchr(token, '.') && -+ if ((opts & OPT_EXPAND) && domain_suffix && !fqdn && - (cache = malloc(sizeof(struct crec) + - strlen(token)+2+strlen(domain_suffix)-SMALLDNAME))) - { |