1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Address feedback

This commit is contained in:
kkthxbye-code
2023-02-18 19:29:57 +01:00
committed by Jeremy Stretch
parent 18ea7d1e13
commit fc7cb106c1
3 changed files with 5 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ class NetContainsOrEquals(Lookup):
lhs, lhs_params = self.process_lhs(qn, connection)
rhs, rhs_params = self.process_rhs(qn, connection)
params = lhs_params + rhs_params
return 'CAST(%s as inet) >>= %s' % (lhs, rhs), params
return 'CAST(%s AS INET) >>= %s' % (lhs, rhs), params
CharField.register_lookup(Empty)