Skip to content

Commit

Permalink
Fix default EHLO banner formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-lau committed May 17, 2024
1 parent aba0638 commit e690576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ class Connection {
default:
// RFC5321 section 4.1.1.1
// Hostname/domain should appear after 250
this.respond(250, `${this.local.host} Hello ${this.get_remote('host')}${this.ehlo_hello_message}`);
this.respond(250, `${this.local.host} Hello ${this.get_remote('host')}, ${this.ehlo_hello_message}`);
}
}
ehlo_respond (retval, msg) {
Expand Down

0 comments on commit e690576

Please sign in to comment.