Method: Unified2::Event#source_port

Defined in:
lib/unified2/event.rb

#source_portInteger

Note:

Event#source_port will return zero if the event protocol is icmp.

Source Port

Returns:

  • (Integer)

    Event source port



211
212
213
# File 'lib/unified2/event.rb', line 211

def source_port
  @event_data[:source_port]
end