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

login
register
mail settings
Submitter Harald Welte
Date Aug. 20, 2014, 6:15 p.m.
Message ID <1408558510-10364-1-git-send-email-laforge@gnumonks.org>
Download mbox | patch
Permalink /patch/381770/
State Accepted
Headers show

Comments

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

Patch

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;
 	}