Changeset 14055 in genesis for tools/gformat.py


Ignore:
Timestamp:
Feb 20, 2018, 7:06:24 PM (7 years ago)
Author:
rick
Message:

Fix merge errors of r14053 and r14054 commits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r14054 r14055  
    237237            datadump[key]['autogen_vlan_alias'] = '_alias' in key
    238238            datadump[key]['autogen_iface'] = '.'.join(key.split('_')[1:])
    239             datadump[key]['autogen_if_dhcp'] = datadump[key]['autogen_ifname']
    240239          else:
    241240            datadump[key]['autogen_if_dhcp'] = datadump[key]['autogen_ifbase']
    242241            datadump[key]['autogen_iface'] = '_'.join(key.split('_')[1:])
    243             datadump[key]['autogen_if_dhcp'] = datadump[key]['autogen_ifbase']
    244242
    245243    except Exception as exc:
     
    615613  # Output the blocks in groups
    616614  for ifname,value in sorted(dhcp_out.iteritems()):
    617       output += ("shared-network %s {\n" % ifname) + indent(''.join(value), 2).rstrip()  + '\n}\n\n'
     615      output += ("shared-network \"%s\" {\n" % ifname) + indent(''.join(value), 2).rstrip()  + '\n}\n\n'
    618616  return output
    619617
Note: See TracChangeset for help on using the changeset viewer.