Fix courtesy of Gianluca Costa


git-svn-id: https://svn.ntop.org/svn/ntop/trunk/nDPI@7362 a02cd0c1-8e76-42e1-a119-56f9641475e2