Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Zenmap display bug #556
When 'address' checkbox in view controls (topology tab) is unchecked, all host information become hidden.
All steps can be seen on screenshots:
Thanks for the bug report. This appears to be intended behavior, though of course we could change it. The code is in
if not self.__animating and self.__show_address: context.set_font_size(8) context.move_to(round(xc + x + x_gap), round(yc - y + y_gap + 4)) hostname = node.get_info('hostname') if hostname is not None and self.__show_hostname: context.show_text(hostname) elif node.get_info('ip') is not None: context.show_text(node.get_info('ip'))
This seems to show that the "address" checkbox is whether to show any label at all, and "hostname" is whether to show hostname instead of numeric address when available. The one behavior this does not allow is showing hostnames when available, but never showing a numeric address. Is this the behavior you want?