- unbreak after ip6s_exthdrtoolong was removed from struct ip6stat.
This commit is contained in:
parent
472039e4f4
commit
91190523e8
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2010/08/30 22:24:15 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2010/12/27 19:03:48 jasper Exp $
|
||||
|
||||
COMMENT= specific Python bindings for OpenBSD
|
||||
|
||||
V= 0.1.2
|
||||
DISTNAME= pyopenbsd-${V}
|
||||
PKGNAME= py-openbsd-${V}
|
||||
REVISION= 6
|
||||
REVISION= 7
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://dev.nullcube.com/
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-openbsd__netstat_c,v 1.2 2007/07/25 16:43:45 ajacoutot Exp $
|
||||
$OpenBSD: patch-openbsd__netstat_c,v 1.3 2010/12/27 19:03:48 jasper Exp $
|
||||
--- openbsd/_netstat.c.orig Tue Dec 21 07:32:04 2004
|
||||
+++ openbsd/_netstat.c Mon Jul 23 18:59:18 2007
|
||||
+++ openbsd/_netstat.c Mon Dec 27 20:00:16 2010
|
||||
@@ -54,10 +54,6 @@
|
||||
#include <netinet/ip_esp.h>
|
||||
#include <netinet/ip_ipip.h>
|
||||
@ -12,3 +12,11 @@ $OpenBSD: patch-openbsd__netstat_c,v 1.2 2007/07/25 16:43:45 ajacoutot Exp $
|
||||
#include <kvm.h>
|
||||
#include <Python.h>
|
||||
|
||||
@@ -186,7 +182,6 @@ PyObject *ip6stats(PyObject *self, PyObject *args){
|
||||
//FIXME m2m, an array of 32 long longs.
|
||||
if (!addULongLong(retdict, "mext1", (unsigned long long)ip6s.ip6s_mext1)) return NULL;
|
||||
if (!addULongLong(retdict, "mext2m", (unsigned long long)ip6s.ip6s_mext2m)) return NULL;
|
||||
- if (!addULongLong(retdict, "exthdrtoolong", (unsigned long long)ip6s.ip6s_exthdrtoolong)) return NULL;
|
||||
if (!addULongLong(retdict, "nogif", (unsigned long long)ip6s.ip6s_nogif)) return NULL;
|
||||
if (!addULongLong(retdict, "toomanyhdr", (unsigned long long)ip6s.ip6s_toomanyhdr)) return NULL;
|
||||
return retdict;
|
||||
|
Loading…
Reference in New Issue
Block a user