Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pcap-Net
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Pcap-Net
Commits
e4aaac98
Commit
e4aaac98
authored
Jun 03, 2010
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed commented code
parent
34c6935c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
26 deletions
+1
-26
DeviceAddress.cpp
PcapDotNet/src/PcapDotNet.Core/DeviceAddress.cpp
+0
-25
PcapDotNet.Core.vcxproj
PcapDotNet/src/PcapDotNet.Core/PcapDotNet.Core.vcxproj
+1
-1
No files found.
PcapDotNet/src/PcapDotNet.Core/DeviceAddress.cpp
View file @
e4aaac98
...
@@ -71,31 +71,6 @@ DeviceAddress::DeviceAddress(pcap_addr_t* pcapAddress)
...
@@ -71,31 +71,6 @@ DeviceAddress::DeviceAddress(pcap_addr_t* pcapAddress)
default
:
default
:
throw
gcnew
NotImplementedException
(
gcnew
String
(
"Device of family "
)
+
family
.
ToString
()
+
gcnew
String
(
" is unsupported"
));
throw
gcnew
NotImplementedException
(
gcnew
String
(
"Device of family "
)
+
family
.
ToString
()
+
gcnew
String
(
" is unsupported"
));
// case SocketAddressFamily::INET6:
//break;
/* case AF_INET:
printf("\tAddress Family Name: AF_INET\n");
if (a->addr)
printf("\tAddress: %s\n",iptos(((struct sockaddr_in *)a->addr)->sin_addr.s_addr));
if (a->netmask)
printf("\tNetmask: %s\n",iptos(((struct sockaddr_in *)a->netmask)->sin_addr.s_addr));
if (a->broadaddr)
printf("\tBroadcast Address: %s\n",iptos(((struct sockaddr_in *)a->broadaddr)->sin_addr.s_addr));
if (a->dstaddr)
printf("\tDestination Address: %s\n",iptos(((struct sockaddr_in *)a->dstaddr)->sin_addr.s_addr));
break;
case AF_INET6:
printf("\tAddress Family Name: AF_INET6\n");
if (a->addr)
printf("\tAddress: %s\n", ip6tos(a->addr, ip6str, sizeof(ip6str)));
break;
default:
printf("\tAddress Family Name: Unknown\n");
break;*/
}
}
}
}
...
...
PcapDotNet/src/PcapDotNet.Core/PcapDotNet.Core.vcxproj
View file @
e4aaac98
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<CodeAnalysisDictionary
Include=
"..\PcapDotNet.CodeAnalysisDictionary.xml"
/>
<CodeAnalysisDictionary
Include=
"..\PcapDotNet.CodeAnalysisDictionary.xml"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<Reference
Include=
"PcapDotNet.Analysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=
ce74aebf1caba0fa
"
>
<Reference
Include=
"PcapDotNet.Analysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=
4b6f3e583145a652
"
>
<HintPath>
..\..\3rdParty\PcapDotNet.Analysis\PcapDotNet.Analysis.dll
</HintPath>
<HintPath>
..\..\3rdParty\PcapDotNet.Analysis\PcapDotNet.Analysis.dll
</HintPath>
</Reference>
</Reference>
<Reference
Include=
"System"
>
<Reference
Include=
"System"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment