Browse Source

RPCPDU: PacketType variable is now protected

Tal Aloni 6 years atrás
parent
commit
7d1555af8b
1 changed files with 2 additions and 3 deletions
  1. 2 3
      SMBLibrary/RPC/PDU/RPCPDU.cs

+ 2 - 3
SMBLibrary/RPC/PDU/RPCPDU.cs

@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
+/* Copyright (C) 2014-2018 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
  * 
  * You can redistribute this program and/or modify it under the terms of
  * the GNU Lesser Public License as published by the Free Software Foundation,
@@ -6,7 +6,6 @@
  */
 using System;
 using System.Collections.Generic;
-using System.Text;
 using Utilities;
 
 namespace SMBLibrary.RPC
@@ -21,7 +20,7 @@ namespace SMBLibrary.RPC
         // The common header fields, which appear in all (connection oriented) PDU types:
         public byte VersionMajor; // rpc_vers
         public byte VersionMinor; // rpc_vers_minor
-        public PacketTypeName PacketType;
+        protected PacketTypeName PacketType;
         public PacketFlags Flags;
         public DataRepresentationFormat DataRepresentation;
         protected ushort FragmentLength; // The length of the entire PDU