Commit 347d5807 authored by Franco Fichtner's avatar Franco Fichtner

inc: mute log file error regarding faulty tftp-proxy setup

parent 1e6ec8d9
...@@ -1792,7 +1792,8 @@ function filter_nat_rules_generate() { ...@@ -1792,7 +1792,8 @@ function filter_nat_rules_generate() {
// Open inetd.conf write handle // Open inetd.conf write handle
$inetd_fd = fopen("/var/etc/inetd.conf","w"); $inetd_fd = fopen("/var/etc/inetd.conf","w");
/* add tftp protocol helper */ /* add tftp protocol helper */
fwrite($inetd_fd, "tftp-proxy\tdgram\tudp\twait\t\troot\t/usr/libexec/tftp-proxy\ttftp-proxy -v\n"); // TODO triggers "inetd[28893]: tftp-proxy/udp: unknown service"
//fwrite($inetd_fd, "tftp-proxy\tdgram\tudp\twait\t\troot\t/usr/libexec/tftp-proxy\ttftp-proxy -v\n");
if(isset($config['nat']['rule'])) { if(isset($config['nat']['rule'])) {
/* start reflection redirects on port 19000 of localhost */ /* start reflection redirects on port 19000 of localhost */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment