iprule: resolve ipproto by name
authorIvan Mosin <[email protected]>
Fri, 9 May 2025 22:48:23 +0000 (01:48 +0300)
committerRobert Marko <[email protected]>
Sun, 18 May 2025 16:22:22 +0000 (18:22 +0200)
commitd476e18e8d430ddfe3ae1809ddeea035bbb9a998
treeb65e18811ab54173c6fab06f24a4e62b9996f5fa
parent723c699e84f4b0f4515928f0cc57a5be2a317ced
iprule: resolve ipproto by name

Handle ipproto as an string. Set protocol in lowercase for musl libc compatibility.

Signed-off-by: Ivan Mosin <[email protected]>
Link: https://github.com/openwrt/netifd/pull/43
Signed-off-by: Robert Marko <[email protected]>
iprule.c
system-dummy.c
system-linux.c
system.h