openvpn: fix ipchange hotplug event
authorIvan Pavlov <AuthorReflex@gmail.com>
Wed, 7 Jun 2023 17:58:42 +0000 (20:58 +0300)
committerRosen Penev <rosenp@gmail.com>
Fri, 9 Jun 2023 11:46:03 +0000 (14:46 +0300)
commit808f67d6152fcac09dcda4d66e2bb285878fb3d4
tree3909773ed14b5a2f7e6190551565606dbf4fd32a
parent1813bf2c6e2f4cbf17af582d1626698fe8da5821
openvpn: fix ipchange hotplug event

In f8a8b71e26b9bdbf86fbb7d4d1482637af7f3ba4 openvpn introduced new hotplug events.
For server config, ipchange hotplug event produces an error.
So, make ipchange hotplug event for client only

Fixes https://github.com/openwrt/packages/issues/21200

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
net/openvpn/Makefile
net/openvpn/files/openvpn.init