Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::wnettools::Interface::FlushRoutes (   self  )  [inherited]

Flush all network routes. 

Definition at line 507 of file wnettools.py.

00507                          :
        """ Flush all network routes. """
        if not self.iface: return False
        if self.IP_FOUND and self.flush_tool != misc.ROUTE:
            cmd = "ip route flush dev " + self.iface
            cmd = 'route del dev ' + self.iface
        if self.verbose: print cmd

    def SetDefaultRoute(self, gw):

Generated by  Doxygen 1.6.0   Back to index