[ovs-git] [openvswitch/ovs] 1d4da9: ovs-save: Handle MTU changes correctly.

GitHub noreply at github.com
Mon Apr 11 17:24:58 UTC 2016


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: 1d4da9eda0d81cdf487007f4caa8fcac34d1f734
      https://github.com/openvswitch/ovs/commit/1d4da9eda0d81cdf487007f4caa8fcac34d1f734
  Author: Gurucharan Shetty <guru at ovn.org>
  Date:   2016-04-11 (Mon, 11 Apr 2016)

  Changed paths:
    M utilities/ovs-save

  Log Message:
  -----------
  ovs-save: Handle MTU changes correctly.

The following command on ubuntu 12.04, 14.04 and CentOS 7.x
returns null:
expr "mtu 1500" : '.*mtu \([0-9]+\)'

But the following works correctly:
expr "mtu 1500" : '.*mtu \([0-9]\+\)'

I am not sure about the portability implications as there
seems to be very sparse documentation about this but
this fixes a bug in 2 of the most popular distributions.

VMware-BZ: #1638654
Signed-off-by: Gurucharan Shetty <guru at ovn.org>




More information about the git mailing list