- Fix bad priority in the webfilter sample.

- Minor comments tweaks.
This commit is contained in:
basil00
2012-02-22 11:00:05 +08:00
parent 13b2ab4418
commit f9b1619adb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
/*
* DESCRIPTION:
* This is a simple traffic filter/firewall.
* This is a simple traffic filter/firewall using WinDivert.
*
* usage: netfilter.exe divert-filter [priority]
*
+2 -2
View File
@@ -18,7 +18,7 @@
/*
* DESCRIPTION:
* This is a simple web (HTTP) filter using the Divert device.
* This is a simple web (HTTP) filter using WinDivert.
*
* It works by intercepting outbound HTTP GET/POST requests and matching
* the URL against a blacklist. If the URL is matched, we hijack the TCP
@@ -120,7 +120,7 @@ int __cdecl main(int argc, char **argv)
UINT16 blockpage_len;
PBLACKLIST blacklist;
unsigned i;
INT16 priority = 13044; // Arbitrary.
INT16 priority = 404; // Arbitrary.
// Read the blacklists.
if (argc <= 1)