summaryrefslogtreecommitdiff
path: root/src/load-fragment-gperf.gperf.m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-31 20:53:34 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-31 20:53:34 +0100
commit9ba1a1598549148fdc9bd7e1b6b7c3b12b2ea958 (patch)
treed7bec9e4c925f007991eed86a7f0b96f5afe6225 /src/load-fragment-gperf.gperf.m4
parentbe19b7df6ebe9cc521e929c5de2fe74ef84f7f80 (diff)
load-fragment: properly parse size values denoted in bytes
Diffstat (limited to 'src/load-fragment-gperf.gperf.m4')
-rw-r--r--src/load-fragment-gperf.gperf.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/src/load-fragment-gperf.gperf.m4 b/src/load-fragment-gperf.gperf.m4
index 8ca799ef21..14c060616f 100644
--- a/src/load-fragment-gperf.gperf.m4
+++ b/src/load-fragment-gperf.gperf.m4
@@ -171,12 +171,12 @@ Socket.Accept, config_parse_bool, 0,
Socket.MaxConnections, config_parse_unsigned, 0, offsetof(Socket, max_connections)
Socket.KeepAlive, config_parse_bool, 0, offsetof(Socket, keep_alive)
Socket.Priority, config_parse_int, 0, offsetof(Socket, priority)
-Socket.ReceiveBuffer, config_parse_size, 0, offsetof(Socket, receive_buffer)
-Socket.SendBuffer, config_parse_size, 0, offsetof(Socket, send_buffer)
+Socket.ReceiveBuffer, config_parse_bytes_size, 0, offsetof(Socket, receive_buffer)
+Socket.SendBuffer, config_parse_bytes_size, 0, offsetof(Socket, send_buffer)
Socket.IPTOS, config_parse_ip_tos, 0, offsetof(Socket, ip_tos)
Socket.IPTTL, config_parse_int, 0, offsetof(Socket, ip_ttl)
Socket.Mark, config_parse_int, 0, offsetof(Socket, mark)
-Socket.PipeSize, config_parse_size, 0, offsetof(Socket, pipe_size)
+Socket.PipeSize, config_parse_bytes_size, 0, offsetof(Socket, pipe_size)
Socket.FreeBind, config_parse_bool, 0, offsetof(Socket, free_bind)
Socket.Transparent, config_parse_bool, 0, offsetof(Socket, transparent)
Socket.Broadcast, config_parse_bool, 0, offsetof(Socket, broadcast)