[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH master] Honor selected hostname on Live CD (#638634)



> for dev in self.netdevices.values():
>     if dev.get('GATEWAY'):
>         gw = dev.get('GATEWAY')

for dev in reversed(self.netdevices.values()):
    if dev.get("GATEWAY"):
       return dev.get("GATEWAY")

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]