Changeset 2129


Ignore:
Timestamp:
Jul 2, 2012, 9:21:38 AM (6 years ago)
Author:
matthijs
Message:

fonbase: Fix syntax error in pppoe custom DNS handling

A missing space prevented the custom DNS from working, the Fonera would
always used the pppoe-supplied DNS server. This bug was introduced in
r2017.

Closes: #1196

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/fonbase/files/lib/fon/config.sh

    r2039 r2129  
    302302                        uci_set "network" "wan" "username" "$wanusername"
    303303                        uci_set "network" "wan" "password" "$wanpassword"
    304                         if ["$wandns" = "0" -o -n "$wandns" ]; then
     304                        if [ "$wandns" = "0" -o -n "$wandns" ]; then
    305305                                uci_set "network" "wan" "dns" "$wandns"
    306306                                uci_set "network" "wan" "peerdns" "0"
Note: See TracChangeset for help on using the changeset viewer.