|
@@ -105,7 +105,7 @@ static int etap_tramp(char *dev, char *gate, int control_me,
|
|
sprintf(data_fd_buf, "%d", data_remote);
|
|
sprintf(data_fd_buf, "%d", data_remote);
|
|
sprintf(version_buf, "%d", UML_NET_VERSION);
|
|
sprintf(version_buf, "%d", UML_NET_VERSION);
|
|
if (gate != NULL) {
|
|
if (gate != NULL) {
|
|
- strcpy(gate_buf, gate);
|
|
|
|
|
|
+ strncpy(gate_buf, gate, 15);
|
|
args = setup_args;
|
|
args = setup_args;
|
|
}
|
|
}
|
|
else args = nosetup_args;
|
|
else args = nosetup_args;
|