Ignore:
Timestamp:
02/14/14 10:56:00 (7 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
296dc5b
Parents:
953cbc3d
Message:

Fix a bug in warden GUI, validate the hostname / IPs aren't in use before letting
the user continue to make a new jail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/warden-gui/dialogwarden.cpp

    r58a4795 rd71f644  
    890890      // Build list of used jail IP / Hosts 
    891891      QTreeWidgetItemIterator it( listJails ); 
     892      int i = 0; 
    892893      while (*it) { 
    893          uI << (*it)->text(0); 
    894          uH << (*it)->text(2); 
     894         uH << (*it)->text(0); 
     895         uI << jailDetails.at(i).at(3); 
    895896         ++it; 
     897         i++; 
    896898      } 
    897899      newJailWizard->setHostIPUsed(uH, uI); 
Note: See TracChangeset for help on using the changeset viewer.