push-notification: Handle notifications with source port 0
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 24 Dec 2010 18:48:30 +0000 (10:48 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 24 Dec 2010 18:48:30 +0000 (10:48 -0800)
commit3950052dfcaf07d35306801a9d6563705f3cdf59
tree1f76183f17baef3990069b156ed8d4d853f178f2
parentc7963f1c00b93e68795ff88de989705cc4ec17ae
push-notification: Handle notifications with source port 0

It seesm that some networks send the push notifications with a source
port of 0 instead of 9200. Instead of accepting any source port, add
an additional datagram handler for the source port 0.
plugins/push-notification.c