privoxy: correctly format /etc/services additions
authorJosh Powers <powersj@fastmail.com>
Wed, 26 Oct 2022 01:54:43 +0000 (19:54 -0600)
committerRosen Penev <rosenp@gmail.com>
Fri, 11 Nov 2022 23:16:45 +0000 (15:16 -0800)
commit95edfa723c9e7b1b99361a86022b9b20ac6f8ead
treec790d644809aa6b029df42e4b3f360c74d636a3a
parenteb283ea8a3d0ff573b04242b045934541a460f06
privoxy: correctly format /etc/services additions

This adds the missing protocol (e.g. /tcp and /udp) to the entry in
/etc/services. If the entry already exists, it will add the /tcp to it.
Otherwise, it will look and add the tcp and udp entries if either is
missing.

fixes: openwrt#19665

Signed-off-by: Josh Powers <powersj@fastmail.com>
net/privoxy/Makefile