httpd: fix handling of range requests
[oweals/busybox.git] / networking / slattach.c
index d9d8fe7b8c060e116106b683b45a5e11079b5742..9267eb1d0f30da8763774ebcb099e5634f6dd505 100644 (file)
  *
  * - The -F options allows disabling of RTS/CTS flow control.
  */
+//config:config SLATTACH
+//config:      bool "slattach"
+//config:      default y
+//config:      select PLATFORM_LINUX
+//config:      help
+//config:        slattach is a small utility to attach network interfaces to serial
+//config:        lines.
+
+//applet:IF_SLATTACH(APPLET(slattach, BB_DIR_SBIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_SLATTACH) += slattach.o
 
 //usage:#define slattach_trivial_usage
 //usage:       "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE"
@@ -39,7 +50,7 @@ struct globals {
 #define handle       (G.handle      )
 #define saved_disc   (G.saved_disc  )
 #define saved_state  (G.saved_state )
-#define INIT_G() do { } while (0)
+#define INIT_G() do { setup_common_bufsiz(); } while (0)
 
 
 /*