From 96b687b9b8d58fc70dfaaed42dbe1b35799117f8 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Tue, 31 Mar 2009 06:22:16 -0700 Subject: Add new type of option type INTERNET_ADDRESS for validation - used to validate options like remote-host, bind-address. - Also validate options of translators created during fetch of volume specification file from remote server. Signed-off-by: Anand V. Avati --- transport/socket/src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'transport/socket/src') diff --git a/transport/socket/src/socket.c b/transport/socket/src/socket.c index ea9555bcf..fe18808a0 100644 --- a/transport/socket/src/socket.c +++ b/transport/socket/src/socket.c @@ -1347,7 +1347,7 @@ struct volume_options options[] = { .type = GF_OPTION_TYPE_INT }, { .key = {"transport.socket.bind-address", "bind-address" }, - .type = GF_OPTION_TYPE_ANY + .type = GF_OPTION_TYPE_INTERNET_ADDRESS }, { .key = {"transport.socket.connect-path", "connect-path"}, .type = GF_OPTION_TYPE_ANY -- cgit