/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-ctl

  • Committer: teddy at recompile
  • Date: 2011-12-31 13:25:58 UTC
  • mto: This revision was merged to the branch mainline in revision 541.
  • Revision ID: teddy@recompile.se-20111231132558-z0dh7qgofgctmgri
* network-hooks.s/bridge: Don't use interface names directly; search
                          for interface names using their address.
  (addrtoif): New function.
* network-hooks.s/bridge.conf (PORTS): Removed.
  (PORT_ADDRESSES): New.
* network-hooks.s/wireless: Don't use interface names directly; search
                            for interface names using their address.
  (addrtoif): New function.
* network-hooks.s/wireless.conf: Specify address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
            #restore stderr
237
237
            os.dup2(stderrcopy, sys.stderr.fileno())
238
238
            os.close(stderrcopy)
239
 
    except dbus.exceptions.DBusException, e:
 
239
    except dbus.exceptions.DBusException:
240
240
        print("Access denied: Accessing mandos server through dbus.",
241
241
              file=sys.stderr)
242
242
        sys.exit(1)