Changeset 32661


Ignore:
Timestamp:
Jul 10, 2017, 5:28:18 PM (2 weeks ago)
Author:
brainslayer
Message:

fix wan uptime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/visuals/dd-wrt.c

    r32660 r32661  
    52885288        int days, minutes;
    52895289        FILE *fp, *fp2;
    5290         char buf[128];
    52915290
    52925291        if (nvram_match("wan_proto", "disabled"))
    52935292                return;
    52945293        if (nvram_match("wan_ipaddr", "0.0.0.0")) {
    5295                 websWrite(wp, "%s", tran_string(buf, "status_router.notavail"));
     5294                websWrite(wp, "%s", live_translate("status_router.notavail"));
    52965295                return;
    52975296        }
    52985297        if (!(fp = fopen("/tmp/.wanuptime", "r"))) {
    5299                 websWrite(wp, "%s", tran_string(buf, "status_router.notavail"));
     5298                websWrite(wp, "%s", live_translate("status_router.notavail"));
    53005299                return;
    53015300        }
Note: See TracChangeset for help on using the changeset viewer.