On Fedora with the default configuration TFTP will listen only
on IPv6 endpoint, making imporrible for a node to reach TFTP.
This patch forces TFTP to listen on IPv4 endpoint by modifying
Xinet.d template.
Change-Id: I1ed315fae38816c8e0c2a736261d1c3736f437ff
... | ... |
@@ -8,4 +8,7 @@ service tftp |
8 | 8 |
server = /usr/sbin/in.tftpd |
9 | 9 |
server_args = -v -v -v -v -v --map-file %TFTPBOOT_DIR%/map-file %TFTPBOOT_DIR% |
10 | 10 |
disable = no |
11 |
+ # This is a workaround for Fedora, where TFTP will listen only on |
|
12 |
+ # IPv6 endpoint, if IPv4 flag is not used. |
|
13 |
+ flags = IPv4 |
|
11 | 14 |
} |