[ovs-git] [openvswitch/ovs] 5aa5d0: vtep: Limit the split elements to 2 (maxsplit + 1)

GitHub noreply at github.com
Tue Mar 3 17:08:34 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5aa5d00e989c31650501d96c38c835e256c47593
      https://github.com/openvswitch/ovs/commit/5aa5d00e989c31650501d96c38c835e256c47593
  Author: Mark Maglana <mmaglana at gmail.com>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

  Changed paths:
    M vtep/ovs-vtep

  Log Message:
  -----------
  vtep: Limit the split elements to 2 (maxsplit + 1)

This change ensures that we always end up with two elements even
if the name of the physical port contains dashes. For example, a
binding of "0100-br0-eth1" will be split to ["0100", "br0-eth1"]
instead of ["0100", "br0", "eth1"].

Signed-off-by: Mark Maglana <mmaglana at gmail.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>




More information about the git mailing list