[luci] [LuCI] #200: Consider adding IPv6 tunnel info to the new Status page

LuciTrac trac at luci.subsignal.org
Sun Feb 13 08:40:41 CET 2011


#200: Consider adding IPv6 tunnel info to the new Status page
-----------------------+----------------------------------------------------
  Reporter:  reporter  |        Type:  enhancement      
    Status:  reopened  |    Priority:  minor            
 Milestone:            |   Component:  LuCI Applications
Resolution:            |    Keywords:  IPv6 tunnel Wan  
-----------------------+----------------------------------------------------

Comment(by reporter):

 As far as I understand the output, the defaultroute is found ok, but then
 the 'device' is nil, as the tunnel interface is not attached to an actual
 physical device, and the remaining command doesn't work.

 {{{
 root at OpenWrt:~# lua -lluci.sys -lluci.model.network -e
 'd=luci.sys.net.defaultro
 ute6(); print(d and d.device);
 w=luci.model.network.init():get_interface(d.devic
 e); print(w); n=w:get_network(); print(n and n:ifname())'
 6in4-sixxs
 nil
 lua: (command line):1: attempt to index global 'w' (a nil value)
 stack traceback:
         (command line):1: in main chunk
         [C]: ?
 root at OpenWrt:~#
 }}}

-- 
Ticket URL: <http://luci.subsignal.org/ticket/200#comment:4>
LuCI <http://luci.subsignal.org>
LuCI - Lua Configuration Interface


More information about the luci mailing list