diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-07-08 23:15:20 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-07-08 23:15:20 -0500 |
commit | 6de42f2b2f6c58cf6ce0db933c2d8d5d40b411ca (patch) | |
tree | a8b06107161bd45bb62c3d568e742b31a9338d44 /FS/FS/tower_sector.pm | |
parent | a8a95509bfca2510f1e5627e5a0d269ed78834cb (diff) |
RT# 80555 Sanitize leading 0's from ip addr input
Diffstat (limited to 'FS/FS/tower_sector.pm')
-rw-r--r-- | FS/FS/tower_sector.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FS/FS/tower_sector.pm b/FS/FS/tower_sector.pm index 800d498..238a543 100644 --- a/FS/FS/tower_sector.pm +++ b/FS/FS/tower_sector.pm @@ -247,7 +247,7 @@ sub check { $self->ut_numbern('sectornum') || $self->ut_number('towernum', 'tower', 'towernum') || $self->ut_text('sectorname') - || $self->ut_textn('ip_addr') + || $self->ut_ip46n('ip_addr') || $self->ut_floatn('height') || $self->ut_numbern('freq_mhz') || $self->ut_numbern('direction') @@ -480,4 +480,3 @@ L<FS::tower>, L<FS::Record>, schema.html from the base documentation. =cut 1; - |