Changeset 35804


Ignore:
Timestamp:
2013-02-26T13:50:52+01:00 (5 years ago)
Author:
cyrus
Message:

6relayd: Fix config behaviour for rewrite_dns_addr option

Location:
trunk/package/network/ipv6/6relayd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/ipv6/6relayd/Makefile

    r35803 r35804  
    99 
    1010PKG_NAME:=6relayd 
    11 PKG_VERSION:=2013-02-26 
     11PKG_VERSION:=2013-02-26.1 
    1212PKG_RELEASE=$(PKG_SOURCE_VERSION) 
    1313 
  • trunk/package/network/ipv6/6relayd/files/6relayd.init

    r35803 r35804  
    7070        config_get_bool always_rewrite_dns "$cfg" always_rewrite_dns 0 
    7171        config_get rewrite_dns_addr "$cfg" rewrite_dns_addr 
    72         [ "$always_rewrite_dns" -eq 1 ] && append args "-n$rewrite_dns_addr" 
     72        [ "$always_rewrite_dns" -eq 1 -o -n "$rewrite_dns_addr" ] && append args "-n$rewrite_dns_addr" 
    7373 
    7474        local always_assume_default 
Note: See TracChangeset for help on using the changeset viewer.