aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-06-19 16:56:27 +0200
committerHans Nilsson <[email protected]>2018-06-19 16:56:27 +0200
commit94e9f7e95e3898bbe8695422fc9df6cb5a1264e3 (patch)
tree64a52367c5c6810b064521784b24e657b0f20de2 /lib/inets/src
parent55fcfd11890423cf77a2486223dede13cfdb9807 (diff)
downloadotp-94e9f7e95e3898bbe8695422fc9df6cb5a1264e3.tar.gz
otp-94e9f7e95e3898bbe8695422fc9df6cb5a1264e3.tar.bz2
otp-94e9f7e95e3898bbe8695422fc9df6cb5a1264e3.zip
ftp: Disallow 'packet_size' for low-level options
Diffstat (limited to 'lib/inets/src')
-rw-r--r--lib/inets/src/ftp/ftp.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl
index 7509339eec..ffcccdefea 100644
--- a/lib/inets/src/ftp/ftp.erl
+++ b/lib/inets/src/ftp/ftp.erl
@@ -1073,6 +1073,7 @@ valid_socket_option({mode,_} ) -> false;
valid_socket_option(binary ) -> false;
valid_socket_option(list ) -> false;
valid_socket_option({header,_} ) -> false;
+valid_socket_option({packet_size,_} ) -> false;
valid_socket_option(_) -> true.