Project

General

Profile

Actions

Error #468

closed

Community name is not saved in ¿Natted? mode

Added by Roger Pueyo Centelles over 6 years ago. Updated over 6 years ago.

Status:
Tancat
Priority:
Baixa
Category:
WEB interface
Target version:
Start date:
10/10/2018
Due date:
% Done:

100%

Estimated time:
2:00 h
Spent time:
Actions #1

Updated by Roger Pueyo Centelles over 6 years ago

  • Status changed from Nou to Resolt
  • % Done changed from 0 to 100

With the previous code:

  local community_name = communityname:formvalue(section)
  if community_name == "Guifi.net" then
    local mesh_name = guifimeshname:formvalue(section)
    local device_id = guifideviceid:formvalue(section)
    uciout:set("qmp","node","mesh_name",mesh_name)
    uciout:set("qmp","node","device_id",device_id)
  else
    uciout:set("qmp","node","community_name",community_name)
  end

"community_name" would only be saved in easy setup when it was not set to Guifi.net

Actions #2

Updated by Roger Pueyo Centelles over 6 years ago

  • Status changed from Resolt to Tancat
Actions

Also available in: Atom PDF