• Frederik Kriewitz's avatar
    BIRD: Fix timeout in case ip/subnet is not in the routing table · 9268ed2e
    Frederik Kriewitz authored and Tomas Hlavacek's avatar Tomas Hlavacek committed
    
    
    Fixes exceptions like this:
    ERROR: Exception occured while running a command:Traceback (most recent
    call last):
      File "/var/www/html/ulg.py", line 498, in commandThreadBody
        session.getRouter().runAsyncCommand(session.getCommand(),session.getParameters(),FakeSessionFile(session))
      File "/var/www/html/ulgmodel.py", line 463, in runAsyncCommand
        return self.runRawCommand(c,outfile)
      File "/var/www/html/ulgbird.py", line 544, in runRawCommand
        l = sf.readline()
      File "/usr/lib/python2.7/socket.py", line 447, in readline
        data = self._sock.recv(self._rbufsize)
    timeout: timed out
    
    Signed-off-by: Tomas Hlavacek's avatarTomas Hlavacek <tmshlvck@gmail.com>
    9268ed2e