ssdp: send a full byebye + alive set when a new interface comes online
If an interface comes online after startup, we really need to send a complete byebye + alive set on that interface, but we don't want to do it for other interfaces. So do it as the interfaces come up, and skip it for interfaces that existed before the reload.
This commit is contained in:
@ -31,13 +31,13 @@
|
||||
|
||||
int OpenAndConfSSDPReceiveSocket(void);
|
||||
|
||||
int OpenAndConfSSDPNotifySocket(in_addr_t addr);
|
||||
int OpenAndConfSSDPNotifySocket(struct lan_addr_s *iface);
|
||||
|
||||
void SendSSDPNotifies(int s, const char *host, unsigned short port, unsigned int lifetime);
|
||||
|
||||
void ProcessSSDPRequest(int s, unsigned short port);
|
||||
|
||||
int SendSSDPGoodbyes(void);
|
||||
int SendSSDPGoodbyes(int s);
|
||||
|
||||
int SubmitServicesToMiniSSDPD(const char *host, unsigned short port);
|
||||
|
||||
|
Reference in New Issue
Block a user