Project

General

Profile

« Previous | Next » 

Revision bb742516

Added by Phil Davis over 8 years ago

Use is_intrange() to validate QinQ tag range

Note: is_intrange() only tells us that the range is good and might be delimited by a "-" or a ":", so if we want to take apart the 2 parts of the range (like is done here) we have to also test the string to decide which separator to use.
I decided it is fine to accept ranges with a ":" separator. Even though it is not explicitly mention on the UI, a user who accidentally does it will be pleasantly happy that it works.
(cherry picked from commit 71ff866c0b36c6a3e288e8bde02d0837fc0b73ce)

  • added
  • modified
  • copied
  • renamed
  • deleted