From: Mark Wooding Date: Thu, 11 Jan 2007 00:04:39 +0000 (+0000) Subject: server: Correct handling of interface names in tun interface. X-Git-Tag: 1.0.0pre8~86 X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/72917fe7c663aced54f7e1185b7b72ba59aea73c?hp=72917fe7c663aced54f7e1185b7b72ba59aea73c server: Correct handling of interface names in tun interface. Now that interface names can be changed, we need to let the tunnel driver know of changes so that it can produce the right messages when things go weird. It's better to let the peer edifice handle interface names, so * let `create' return the interface name rather than have p_ifname ask the tunnel explicitly, and * replace the `ifname' query with an optional `setifname' notification, which is currently used only by the SLIP driver to maintain the correct name for its persistent interfaces. ---