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

Laine Stump laine at laine.org
Mon Nov 15 19:39:36 UTC 2010


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!




More information about the libvir-list mailing list