Revision c0c3fa27 scripts/gnt-instance

b/scripts/gnt-instance
1191 1191
        vnc_console_port = "%s:%s (display %s)" % (instance["pnode"],
1192 1192
                                                   port,
1193 1193
                                                   display)
1194
      elif display > 0 and utils.IsValidIP(vnc_bind_address):
1194
      elif display > 0 and utils.IsValidIP4(vnc_bind_address):
1195 1195
        vnc_console_port = ("%s:%s (node %s) (display %s)" %
1196 1196
                             (vnc_bind_address, port,
1197 1197
                              instance["pnode"], display))

Also available in: Unified diff