From 92b569477b62bf15175b03730767d0097b4bc2d8 Mon Sep 17 00:00:00 2001 From: fredrik Date: Mon, 4 Jun 2007 19:15:06 +0000 Subject: [PATCH] Fixed conformedness of IP_TOS. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1060 959494ce-11ee-0310-bf91-de5d638817bd --- clients/gtk2/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index aebab1d..5aac1e4 100644 --- a/clients/gtk2/main.c +++ b/clients/gtk2/main.c @@ -1085,7 +1085,7 @@ void handleresps(void) dcdisconnected(); } else { tosbuf = 0x10; /* Minimum cost */ - setsockopt(dcfd, SOL_IP, IP_TOS, &tosbuf, sizeof(tosbuf)); + setsockopt(dcfd, IPPROTO_IP, IP_TOS, &tosbuf, sizeof(tosbuf)); updatesbar(_("Connected")); dc_loginasync(connectas, 1, loginconv, logincallback, NULL); } -- 2.11.0