summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt/floatunsisf.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2018-02-27 22:32:27 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2018-02-27 22:32:27 +0000
commitea14315b75738e179099cbc553b88b4a3d2ce53e (patch)
tree8cfe37302be7163320ae293e940790d34aed5d88 /lib/libcompiler_rt/floatunsisf.c
parenta4e33c2c9ec509a80703357e409e2bd00950a17c (diff)
handle "tunnels" without a destination address
this is used for mgre, which has a local address but dynamically addresses other endpoints based on routing information. "tunneladdr" takes a single address (where "tunnel" takes two) and sets the destination address in the ioctl to an AF_UNSPEC destination. tunnel status is changed so it recognises this and only outputs the local address if the destination is AF_UNSPEC. the tunnel status is also changed so it can tell the difference between tunnels being unsupported on the interface (ie, ENOTTY comes back) or if there's just no address configured yet (EADDRNOTAVAIL), which allows the other tunnel params like ttl and df to be shown. tested with and without -DSMALL
Diffstat (limited to 'lib/libcompiler_rt/floatunsisf.c')
0 files changed, 0 insertions, 0 deletions