improved nino port number validation
This commit is contained in:
@@ -147,11 +147,11 @@ feature -- Status report
|
|||||||
|
|
||||||
launchable: BOOLEAN
|
launchable: BOOLEAN
|
||||||
do
|
do
|
||||||
Result := Precursor and port_number >= 0
|
Result := Precursor and 0 <= port_number and port_number <= {NATURAL_16}.max_value
|
||||||
end
|
end
|
||||||
|
|
||||||
;note
|
;note
|
||||||
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
Reference in New Issue
Block a user