NetBios: NameQueryRequest: Removed incorrect ARCount value from constructor

This commit is contained in:
Tal Aloni 2020-01-25 20:56:30 +02:00
parent f48763f049
commit 156e9a0631

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved. /* Copyright (C) 2014-2020 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
* *
* You can redistribute this program and/or modify it under the terms of * 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, * the GNU Lesser Public License as published by the Free Software Foundation,
@ -24,7 +24,6 @@ namespace SMBLibrary.NetBios
{ {
Header = new NameServicePacketHeader(); Header = new NameServicePacketHeader();
Header.OpCode = NameServiceOperation.QueryRequest; Header.OpCode = NameServiceOperation.QueryRequest;
Header.ARCount = 1;
Question = new QuestionSection(); Question = new QuestionSection();
} }