Skip to content

Commit

Permalink
NAS-128343: Checking Autoconfigure IPv6 hides IPv4 Aliases
Browse files Browse the repository at this point in the history
(cherry picked from commit 860d16c)
  • Loading branch information
AlexKarpov98 authored and bugclerk committed Apr 29, 2024
1 parent a5baede commit 8e71d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ describe('InterfaceFormComponent', () => {
});

aliasesList = await loader.getHarnessOrNull(IxListHarness.with({ label: 'Aliases' }));
expect(aliasesList).toBeNull();
expect(aliasesList).toBeTruthy();
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export class InterfaceFormComponent implements OnInit {
}

get canHaveAliases(): boolean {
return !this.form.value.ipv4_dhcp && !this.form.value.ipv6_auto;
return !this.form.value.ipv4_dhcp;
}

ngOnInit(): void {
Expand Down

0 comments on commit 8e71d26

Please sign in to comment.