display raw long version word

This commit is contained in:
Kelvin Sherlock 2021-03-14 22:45:32 -04:00
parent 4a0dc5ee7d
commit bb28886f5a
1 changed files with 4 additions and 2 deletions

View File

@ -311,13 +311,15 @@ void DisplayLinkLayer(void) {
void DisplayTCP(void) {
static DNSRec dns;
unsigned long version;
Long l;
print_tab("TCP Status", 10);
// version
VersionString(0, TCPIPLongVersion(), buffer);
printf(" Version: %b\r", buffer);
version = TCPIPLongVersion();
VersionString(0, version, buffer);
printf(" Version: %b ($%08lx)\r", buffer, version);
printf(" Connect Status: $%04x\r", TCPIPGetConnectStatus());
// ip address