Code

Reset the address-family to `AF_UNSPEC' before setting the source address.
authorFlorian Forster <octo@verplant.org>
Mon, 12 Jun 2006 20:46:08 +0000 (22:46 +0200)
committerFlorian Forster <octo@verplant.org>
Mon, 12 Jun 2006 20:46:08 +0000 (22:46 +0200)
commitc08528de0a95743ef18df09e50356f35b2441b88
treec1648909fa20038a4e09a06ba191e364fc20e605
parentb827d58ef4e6ab7a53287942a9603287d42e5325
Reset the address-family to `AF_UNSPEC' before setting the source address.

In >90% of all cases you will pass an IP-address to that option anyway. After
the address has been looked up, set `obj->addrfamily' accordingly.
src/liboping.c