Changeset 2141


Ignore:
Timestamp:
Aug 23, 2012, 12:17:00 PM (7 years ago)
Author:
matthijs
Message:

openvpn: Mention when using the DDNS hostname.

References: #508

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/luci/applications/luci-openvpn/luasrc/model/cbi/openvpn.lua

    r2140 r2141  
    3232if not(dns) or #dns < 1 then
    3333        s:option(Value, "public", translate("public_ip", "Public IP/hostname"))
     34else
     35        public = s:option(DummyValue, "public", translate("public_ip", "Public IP/hostname"))
     36        public.value = "Using DDNS value: " .. dns
    3437end
    3538
Note: See TracChangeset for help on using the changeset viewer.