519
509
"""This overrides the normal server_bind() function
520
510
to bind to an interface if one was specified, and also NOT to
521
511
bind to an address or port if they were not specified."""
523
513
# 25 is from /usr/include/asm-i486/socket.h
524
514
SO_BINDTODEVICE = getattr(socket, "SO_BINDTODEVICE", 25)