Re: [PATCH] Fix ipv4-addr definition in interface.rng

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/12/2010 04:27 PM, Eric Blake wrote:
On 11/12/2010 02:14 PM, Laine Stump wrote:
Eric Blake pointed out a deficiency in this regex when it was
copy-pasted into network.rng. This is just propogating the fix back to
its origin.
---
  docs/schemas/interface.rng |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/docs/schemas/interface.rng b/docs/schemas/interface.rng
index a0df9ba..75893b5 100644
--- a/docs/schemas/interface.rng
+++ b/docs/schemas/interface.rng
@@ -439,7 +439,7 @@

    <define name='ipv4-addr'>
      <data type='string'>
-<param name="pattern">(((25[0-5])|(1[0-9]{2})|(2[0-4][0-9])|([0-9]{1,2}))\.){3}((25[0-5])|(1[0-9]{2})|(2[0-4][0-9])|([0-9]{1,2}))</param>
+<param name="pattern">(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([1-9][0-9])|([0-9]))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([1-9][0-9])|([0-9]))</param>
ACK.


Pushed. Thanks!

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]