Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-977

lb_vip_command_fn param redundancy when unformat ip address

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • 18.04
    • None
    • None
    • None

      In function lb_vip_command_fn, the last "plen" param is redundancy. As follow

      if (!unformat(line_input, "%U", unformat_ip46_prefix, &prefix, &plen, IP46_TYPE_ANY, &plen)) {
          error = clib_error_return (0, "invalid vip prefix: '%U'",
                                     format_unformat_error, line_input);
          goto done;
        }

            flyingeagle23 hui wang
            flyingeagle23 hui wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: