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>
     </data>
   </define>
 
-- 
1.7.2.3

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

Reply via email to