On Apr 14, 2013, at 3:47 PM, Karthik Sharma wrote:

> What is the type of packet.src?

You could determine this with a "print type(packet.src)" statement.  It's 
probably an EthAddr.  I don't know enough about your database to say, but it 
probably makes sense to convert it to a string to store it (str(packet.src)), 
and convert it back to an EthAddr when you load it from the database 
(EthAddr(string_from_db)).

-- Murphy

Reply via email to