[1/5] libctrl: Remove reference to 'DNAT' in favor of 'DCTRL'

Submitted by Harald Welte on Aug. 20, 2014, 6:15 p.m.

Details

Message ID 1408558510-10364-1-git-send-email-laforge@gnumonks.org
State Accepted
Headers show

Commit Message

Harald Welte Aug. 20, 2014, 6:15 p.m.
---
 src/ctrl/control_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index ca59d8c..156a24f 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -248,7 +248,7 @@  static int listen_fd_cb(struct osmo_fd *listen_bfd, unsigned int what)
 	on = 1;
 	ret = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
 	if (ret != 0) {
-		LOGP(DNAT, LOGL_ERROR, "Failed to set TCP_NODELAY: %s\n", strerror(errno));
+		LOGP(DCTRL, LOGL_ERROR, "Failed to set TCP_NODELAY: %s\n", strerror(errno));
 		close(fd);
 		return ret;
 	}