net: Fix UDP bind commands
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Feb 2017 18:33:48 +0000 (13:33 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Feb 2017 18:34:59 +0000 (13:34 -0500)
commit55f2f44a1fa6d48200afe986854a6211582dc2c8
tree0f279f3de232b4395099436376436c408a9b7fc2
parent233b28e094f6dcab89e7e3cc278b73ba738b40a7
net: Fix UDP bind commands

Previously, UDP would just use the standard bind, which assigns a local
port.  However, it wouldn't add an entry to the hash table, so any inbound
connections would be rejected.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/net/udp.c