Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions udp/tftp.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
*/

var dgram = require('dgram');
var slog = require('sys').log;
var slog = require('util').log;
var fs = require('fs');

var SERVER_HOST='127.0.0.1';
var SERVER_PORT=1069;
var SERVER_HOST='0.0.0.0';
var SERVER_PORT=69;


var opcodes = {OPCODE_RRQ: 1,
Expand Down