mirror of
https://github.com/ksherlock/tcpsnooper.git
synced 2025-01-15 04:29:50 +00:00
display raw long version word
This commit is contained in:
parent
4a0dc5ee7d
commit
bb28886f5a
@ -311,13 +311,15 @@ void DisplayLinkLayer(void) {
|
|||||||
void DisplayTCP(void) {
|
void DisplayTCP(void) {
|
||||||
|
|
||||||
static DNSRec dns;
|
static DNSRec dns;
|
||||||
|
unsigned long version;
|
||||||
Long l;
|
Long l;
|
||||||
|
|
||||||
print_tab("TCP Status", 10);
|
print_tab("TCP Status", 10);
|
||||||
|
|
||||||
// version
|
// version
|
||||||
VersionString(0, TCPIPLongVersion(), buffer);
|
version = TCPIPLongVersion();
|
||||||
printf(" Version: %b\r", buffer);
|
VersionString(0, version, buffer);
|
||||||
|
printf(" Version: %b ($%08lx)\r", buffer, version);
|
||||||
printf(" Connect Status: $%04x\r", TCPIPGetConnectStatus());
|
printf(" Connect Status: $%04x\r", TCPIPGetConnectStatus());
|
||||||
|
|
||||||
// ip address
|
// ip address
|
||||||
|
Loading…
x
Reference in New Issue
Block a user