diff options
author | Sander Vrijders <[email protected]> | 2017-01-29 12:24:35 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-01-29 12:24:35 +0000 |
commit | 9a744bc8f0511f03534dca7ce5589f031c5105b3 (patch) | |
tree | 14c3f3aa49f62706d5bcf7cd5e87698956a9a599 /src/ipcpd/shim-udp | |
parent | cfc1e421cd222f41dd1c8498d631a31c680e4211 (diff) | |
parent | 1f94baea43c031c366decb9c772514a89a7fa372 (diff) | |
download | ouroboros-9a744bc8f0511f03534dca7ce5589f031c5105b3.tar.gz ouroboros-9a744bc8f0511f03534dca7ce5589f031c5105b3.zip |
Merged in dstaesse/ouroboros/be-ipcpd (pull request #352)
ipcpd: Don't strdup() the dif_name in main loop
Diffstat (limited to 'src/ipcpd/shim-udp')
-rw-r--r-- | src/ipcpd/shim-udp/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index 99aac40e..e9c15579 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -635,9 +635,6 @@ static int ipcp_udp_bootstrap(struct dif_config * conf) pthread_rwlock_unlock(&ipcpi.state_lock); - /* this IPCP doesn't need to maintain its dif_name */ - free(conf->dif_name); - LOG_DBG("Bootstrapped shim IPCP over UDP with api %d.", getpid()); LOG_DBG("Bound to IP address %s.", ipstr); LOG_DBG("DNS server address is %s.", dnsstr); |