[IFMON] combine the 'pushd' and context change commands in the dump output

This commit is contained in:
Eric Kohl
2025-10-20 21:14:26 +02:00
parent c7d4040767
commit d1f54aa5f7
2 changed files with 2 additions and 4 deletions

View File

@@ -74,8 +74,7 @@ InterfaceDumpFn(
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
PrintMessage(L"# Interface Configuration\n");
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
PrintMessage(L"pushd\n");
PrintMessage(L"interface\n");
PrintMessage(L"pushd interface\n");
PrintMessageFromModule(hDllInstance, IDS_DUMP_NEWLINE);
PrintMessageFromModule(hDllInstance, IDS_DUMP_NEWLINE);

View File

@@ -350,8 +350,7 @@ IpDumpFn(
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
PrintMessage(L"# Interface IP Configuration\n");
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
PrintMessage(L"pushd\n");
PrintMessage(L"interface ip\n");
PrintMessage(L"pushd interface ip\n");
PrintMessageFromModule(hDllInstance, IDS_DUMP_NEWLINE);
/* set required buffer size */