aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Kobayashi <yukoba@accelart.jp>2013-08-01 13:15:21 +0900
committerYu Kobayashi <yukoba@accelart.jp>2013-08-07 03:13:57 +0900
commit3236efdeee9bf50a5edd1b6fc8d63a7c8f97b8ca (patch)
treefc8bc8915ae3fe6f4f9927300062861471141862
parent0a9dc0b0b23c8c22fc96ddaa063755f939e4ca6d (diff)
Modified src/settings.h to match the constants of sys/socket.h
-rw-r--r--src/settings.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settings.js b/src/settings.js
index 19108f3b..b8c148d5 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -620,8 +620,8 @@ var C_DEFINES = {
'HAVE__ULTOA': '1',
'HUGE_VAL': 'inf',
'INT_MAX': '2147483647',
- 'IPPROTO_TCP': '1',
- 'IPPROTO_UDP': '2',
+ 'IPPROTO_TCP': '6',
+ 'IPPROTO_UDP': '17',
'ITIMER_PROF': '2',
'ITIMER_REAL': '0',
'ITIMER_VIRTUAL': '1',
@@ -857,8 +857,8 @@ var C_DEFINES = {
'SI_QUEUE': '2',
'SI_TIMER': '3',
'SI_USER': '1',
- 'SOCK_DGRAM': '20',
- 'SOCK_STREAM': '200',
+ 'SOCK_DGRAM': '2',
+ 'SOCK_STREAM': '1',
'STDC_HEADERS': '1',
'STDERR_FILENO': '2',
'STDIN_FILENO': '0',