Changeset 13733 in genesis for tools/gformat.py


Ignore:
Timestamp:
Jan 18, 2017, 10:39:09 PM (8 years ago)
Author:
rick
Message:

Keep equal interfaces together, more easy debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tools/gformat.py

    r13726 r13733  
    578578      """ % datadump[iface_key]))
    579579
    580   for ifname,value in dhcp_out.iteritems():
     580  for ifname,value in sorted(dhcp_out.iteritems()):
    581581    if len(value) > 2:
    582582      output += ("shared-network %s {\n" % ifname) + indent(''.join(value), 2)  + '\n}\n\n'
Note: See TracChangeset for help on using the changeset viewer.