netifd: strip mask from IP address in DHCP client params
authorAndrey Erokhin <a.erokhin@inango-systems.com>
Tue, 7 Mar 2023 11:52:58 +0000 (16:52 +0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 1 Apr 2023 20:40:35 +0000 (22:40 +0200)
commit506bb436c678779e8ee54e83a7fb3e4e880037ec
tree2f11a40b72fd62af0c956212c8df5af6cbedffc1
parentfdc857358747fcf0c905779e3f114af66feeab1a
netifd: strip mask from IP address in DHCP client params

ipaddr option can be in CIDR notation,
but udhcp wants just an IP address

Signed-off-by: Andrey Erokhin <a.erokhin@inango-systems.com>
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh