From 9a007db7644d97d39262fa5248dbe8507aea3c46 Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" Date: Fri, 15 Jun 2012 13:38:49 +0000 Subject: [PATCH] [0.1.x] fixed : snippet ndis.py git-svn-id: https://pykd.svn.codeplex.com/svn@77336 9b283d60-5439-405e-af05-b73fd8c4d996 --- snippets/ndis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/ndis.py b/snippets/ndis.py index 29b76c2..35d70a5 100644 --- a/snippets/ndis.py +++ b/snippets/ndis.py @@ -68,9 +68,9 @@ def printNdisObj(): while opn != 0: - openBlock = typedVar( "ndis", "_NDIS_OPEN_BLOCK", opn ) + openBlock = typedVar( "ndis!_NDIS_OPEN_BLOCK", opn ) - proto = typedVar( "ndis", "_NDIS_PROTOCOL_BLOCK", openBlock.ProtocolHandle ) + proto = typedVar( "ndis!_NDIS_PROTOCOL_BLOCK", openBlock.ProtocolHandle ) dprint( "%s \tNDIS_OPEN_BLOCK( %x )" % ( loadUnicodeString( proto.ProtocolCharacteristics.Name.getAddress() ), openBlock.getAddress(), openBlock.getAddress() ), True ) dprintln( "\tNDIS_PROTOCOL_BLOCK( %x )" % ( proto.getAddress(), proto.getAddress() ), True )