Skip to content

Commit

Permalink
Corrected interface filter string
Browse files Browse the repository at this point in the history
Signed-off-by: SimoneFiorani <[email protected]>
  • Loading branch information
sfiorani committed Oct 18, 2023
1 parent 57f2388 commit 564186a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ private List<Optional<NetInterfaceStatus>> getNetInterfaceStatus(String interfac
Optional<String> ip4InterfaceStatus = this.networkProperties.getOpt(String.class,
"net.interface.%s.config.ip4.status", interfaceName);
Optional<String> ip6InterfaceStatus = this.networkProperties.getOpt(String.class,
"net.interface.%s.config.ip4.status", interfaceName);
"net.interface.%s.config.ip6.status", interfaceName);

if (ip4InterfaceStatus.isPresent()) {
returnList.add(Optional.of(NetInterfaceStatus.valueOf(ip4InterfaceStatus.get())));
Expand Down

0 comments on commit 564186a

Please sign in to comment.