Module Name: src Committed By: pooka Date: Sat Feb 19 13:07:53 UTC 2011
Modified Files: src/lib/librumphijack: hijack.c Log Message: support PF_OROUTE and PF_MPLS where available To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/lib/librumphijack/hijack.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/librumphijack/hijack.c diff -u src/lib/librumphijack/hijack.c:1.54 src/lib/librumphijack/hijack.c:1.55 --- src/lib/librumphijack/hijack.c:1.54 Fri Feb 18 19:27:06 2011 +++ src/lib/librumphijack/hijack.c Sat Feb 19 13:07:53 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: hijack.c,v 1.54 2011/02/18 19:27:06 pooka Exp $ */ +/* $NetBSD: hijack.c,v 1.55 2011/02/19 13:07:53 pooka Exp $ */ /*- * Copyright (c) 2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: hijack.c,v 1.54 2011/02/18 19:27:06 pooka Exp $"); +__RCSID("$NetBSD: hijack.c,v 1.55 2011/02/19 13:07:53 pooka Exp $"); #define __ssp_weak_name(fun) _hijack_ ## fun @@ -325,8 +325,14 @@ { PF_LOCAL, "local" }, { PF_INET, "inet" }, { PF_LINK, "link" }, +#ifdef PF_OROUTE + { PF_OROUTE, "oroute" }, +#endif { PF_ROUTE, "route" }, { PF_INET6, "inet6" }, +#ifdef PF_MPLS + { PF_MPLS, "mpls" }, +#endif { -1, NULL } };