unet-cli: pass service object to set_service()
authorFelix Fietkau <nbd@nbd.name>
Thu, 25 Aug 2022 10:37:24 +0000 (12:37 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 25 Aug 2022 10:41:29 +0000 (12:41 +0200)
commit2c23deaf9c1e321e0f906dc6336ba50cabbae7a2
tree2488d10c212793ab3a49461c59d61a5310068999
parent0160c88dd09927e2cdd21e430b651389b634bfbb
unet-cli: pass service object to set_service()

Avoids accessing global net_data from within the function

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