]> granicus.if.org Git - transmission/commit
Support CIDR-notated blocklists
authorMingye Wang <arthur200126@gmail.com>
Sat, 13 Oct 2018 21:20:40 +0000 (17:20 -0400)
committerMingye Wang <arthur200126@gmail.com>
Sat, 13 Oct 2018 21:23:45 +0000 (17:23 -0400)
commitb3129591db95677d9beefb18b0aa2d939a19428e
treec6be611f02b97bfd9f322e64a9c29e3465c4857a
parent24473c9487898b7353ef801aeec794e881b357c3
Support CIDR-notated blocklists

This commit adds a new blocklist line format, namely individual IPv4
CIDR ranges separated by newlines. Text put after each entry is ignored
by sscanf, so feel free to put any kind of comments there.

Fix #230.
libtransmission/blocklist-test.c
libtransmission/blocklist.c