Skip to content
This repository
Browse code

[fix] libnet: Fixed problem with smtpServer options.

  • Loading branch information...
commit d6dede84c728f31b1a7050ff11a30e0994f7f8df 1 parent 27dd909
Norman Scaife authored September 19, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  libnet/smtpServer.ml
4  libnet/smtpServer.ml
@@ -155,8 +155,8 @@ let make (_name:string) (opt:options) (_sched:Scheduler.t) : t =
155 155
                                rt_payload = ();
156 156
                              };
157 157
                 } in
158  
-  let state = { SCC.server_domain = "smtp.localhost.local";
159  
-                server_port = 2525;
  158
+  let state = { SCC.server_domain = opt.opt_addr;
  159
+                server_port = opt.opt_port;
160 160
                 hello_message = "";
161 161
                 client_domain = "";
162 162
                 callback = opt.opt_email_handler;

0 notes on commit d6dede8

Please sign in to comment.
Something went wrong with that request. Please try again.