unet-cli: pass host object to set_host()
authorFelix Fietkau <nbd@nbd.name>
Thu, 25 Aug 2022 10:40:17 +0000 (12:40 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 25 Aug 2022 10:41:29 +0000 (12:41 +0200)
commite966627449a700dc8e9c17dd0d94b9e688c497f1
tree096d32616e330048bae0e246ebeac95274e2c185
parent2c23deaf9c1e321e0f906dc6336ba50cabbae7a2
unet-cli: pass host object to set_host()

Avoids accessing global net_data from within the function

Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/unet-cli