Skip to content

Commit

Permalink
Fix netmgr if_iaid CLI
Browse files Browse the repository at this point in the history
Change-Id: I4075dc3c4ca766400d8993c16911028c624ddf4e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4118
Reviewed-by: Anish Swaminathan <[email protected]>
Tested-by: Anish Swaminathan <[email protected]>
  • Loading branch information
Vinay Kulkarni authored and suezzelur committed Oct 24, 2017
1 parent a811371 commit 0a7d134
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
17 changes: 17 additions & 0 deletions SPECS/netmgmt/netmgmt-iaid-cli-fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/cli/netmgrcli.c b/cli/netmgrcli.c
index 8c7396f..3b7f535 100644
--- a/cli/netmgrcli.c
+++ b/cli/netmgrcli.c
@@ -1695,10 +1695,10 @@ NETMGRCLI_CMD_MAP cmdMap[] =
"--set --duid <DUID string> --interface <interface name>",
"get or set DHCP DUID, optionally per interface"
},
- {"if_iaid ",
+ {"if_iaid",
cli_if_iaid,
"--set --iaid <IAID value> --interface <interface name>",
- "get or set interface IAID"
+ "\t get or set interface IAID"
},
{"ntp_servers",
cli_ntp_servers,
6 changes: 5 additions & 1 deletion SPECS/netmgmt/netmgmt.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: PhotonOS Network Management Utilities
Name: netmgmt
Version: 1.1.0
Release: 8%{?dist}
Release: 9%{?dist}
Group: Applications/System
Vendor: VMware, Inc.
License: Apache2.0
Expand All @@ -12,6 +12,7 @@ Patch1: netmgmt-1.1.0-coverity-and-bug-fix.patch
Patch2: netmgmt-1.1.0-carry-match-conf-fix.patch
Patch3: netmgmt-1.1.0-back-compat.patch
Patch4: netmgmt-1.1.0-build-arm64.patch
Patch5: netmgmt-iaid-cli-fix.patch
Distribution: Photon
BuildRequires: autoconf
BuildRequires: check >= 0.9.4
Expand Down Expand Up @@ -51,6 +52,7 @@ header files and libraries for netmgmt cli
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1

%build
autoreconf -mif
Expand Down Expand Up @@ -91,6 +93,8 @@ find %{buildroot} -name '*.la' -delete
# %doc ChangeLog README COPYING

%changelog
* Mon Oct 23 2017 Vinay Kulkarni <[email protected]> 1.1.0-9
- Fix netmgr if_iaid CLI.
* Fri Oct 13 2017 Alexey Makhalov <[email protected]> 1.1.0-8
- Use standard configure macros
* Sat Oct 07 2017 Vinay Kulkarni <[email protected]> 1.1.0-7
Expand Down

0 comments on commit 0a7d134

Please sign in to comment.