From f9b1619adb3de61d75d0d42b9e086d4b5707f9c2 Mon Sep 17 00:00:00 2001 From: basil00 Date: Wed, 22 Feb 2012 11:00:05 +0800 Subject: [PATCH] - Fix bad priority in the webfilter sample. - Minor comments tweaks. --- examples/netfilter/netfilter.c | 2 +- examples/webfilter/webfilter.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/netfilter/netfilter.c b/examples/netfilter/netfilter.c index 1d6ef28..581203d 100644 --- a/examples/netfilter/netfilter.c +++ b/examples/netfilter/netfilter.c @@ -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] * diff --git a/examples/webfilter/webfilter.c b/examples/webfilter/webfilter.c index 7c596bf..143378d 100644 --- a/examples/webfilter/webfilter.c +++ b/examples/webfilter/webfilter.c @@ -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)