Changeset 10197 in genesis


Ignore:
Timestamp:
Mar 17, 2012, 12:41:32 PM (13 years ago)
Author:
richardvm
Message:

need proxy like resolv.conf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10196 r10197  
    521521nameserver 127.0.0.1
    522522"""
    523   if datadump['nodetype'] == 'Proxy' or datadump['nodetype'] == 'Hybrid':
     523  if datadump['nodetype'] == 'Proxy':
     524    output += """\
     525nameserver 8.8.8.8   # Google Public NameServer
     526nameserver 8.8.4.4   # Google Public NameServer
     527"""
     528  elif datadump['nodetype'] == 'Hybrid':
    524529    output += """\
    525530nameserver 8.8.8.8   # Google Public NameServer
Note: See TracChangeset for help on using the changeset viewer.