Browse code

Fix netmgr if_iaid CLI

Change-Id: I4075dc3c4ca766400d8993c16911028c624ddf4e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4118
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

Vinay Kulkarni authored on 2017/10/24 10:00:02
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,17 @@
0
+diff --git a/cli/netmgrcli.c b/cli/netmgrcli.c
1
+index 8c7396f..3b7f535 100644
2
+--- a/cli/netmgrcli.c
3
+@@ -1695,10 +1695,10 @@ NETMGRCLI_CMD_MAP cmdMap[] =
4
+      "--set --duid <DUID string> --interface <interface name>",
5
+      "get or set DHCP DUID, optionally per interface"
6
+     },
7
+-    {"if_iaid ",
8
++    {"if_iaid",
9
+      cli_if_iaid,
10
+      "--set --iaid <IAID value> --interface <interface name>",
11
+-     "get or set interface IAID"
12
++     "\t get or set interface IAID"
13
+     },
14
+     {"ntp_servers",
15
+      cli_ntp_servers,
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:       PhotonOS Network Management Utilities
2 2
 Name:          netmgmt
3 3
 Version:       1.1.0
4
-Release:       8%{?dist}
4
+Release:       9%{?dist}
5 5
 Group:         Applications/System
6 6
 Vendor:        VMware, Inc.
7 7
 License:       Apache2.0
... ...
@@ -12,6 +12,7 @@ Patch1:        netmgmt-1.1.0-coverity-and-bug-fix.patch
12 12
 Patch2:        netmgmt-1.1.0-carry-match-conf-fix.patch
13 13
 Patch3:        netmgmt-1.1.0-back-compat.patch
14 14
 Patch4:        netmgmt-1.1.0-build-arm64.patch
15
+Patch5:        netmgmt-iaid-cli-fix.patch
15 16
 Distribution:  Photon
16 17
 BuildRequires: autoconf
17 18
 BuildRequires: check >= 0.9.4
... ...
@@ -51,6 +52,7 @@ header files and libraries for netmgmt cli
51 51
 %patch2 -p1
52 52
 %patch3 -p1
53 53
 %patch4 -p1
54
+%patch5 -p1
54 55
 
55 56
 %build
56 57
 autoreconf -mif
... ...
@@ -91,6 +93,8 @@ find %{buildroot} -name '*.la' -delete
91 91
 # %doc ChangeLog README COPYING
92 92
 
93 93
 %changelog
94
+*   Mon  Oct 23 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-9
95
+-   Fix netmgr if_iaid CLI.
94 96
 *   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.1.0-8
95 97
 -   Use standard configure macros
96 98
 *   Sat  Oct 07 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-7