Skip to content

Commit d1f54aa

Browse files
committed
[IFMON] combine the 'pushd' and context change commands in the dump output
1 parent c7d4040 commit d1f54aa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dll/win32/ifmon/interface.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ InterfaceDumpFn(
7474
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
7575
PrintMessage(L"# Interface Configuration\n");
7676
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
77-
PrintMessage(L"pushd\n");
78-
PrintMessage(L"interface\n");
77+
PrintMessage(L"pushd interface\n");
7978
PrintMessageFromModule(hDllInstance, IDS_DUMP_NEWLINE);
8079

8180
PrintMessageFromModule(hDllInstance, IDS_DUMP_NEWLINE);

dll/win32/ifmon/ip.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,7 @@ IpDumpFn(
350350
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
351351
PrintMessage(L"# Interface IP Configuration\n");
352352
PrintMessageFromModule(hDllInstance, IDS_DUMP_HEADERLINE);
353-
PrintMessage(L"pushd\n");
354-
PrintMessage(L"interface ip\n");
353+
PrintMessage(L"pushd interface ip\n");
355354
PrintMessageFromModule(hDllInstance, IDS_DUMP_NEWLINE);
356355

357356
/* set required buffer size */

0 commit comments

Comments
 (0)