[acassen/keepalived] 2e3cbb: Allow '-' characters in smtp_server hostname

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <5729efff244b8_366d3f85db67929c100042@hookshot-fe5-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 2e3cbb5ce04f27b448a3bf393298ccf2a756f3c6
      https://github.com/acassen/keepalived/commit/2e3cbb5ce04f27b448a3bf393298ccf2a756f3c6
  Author: Quentin Armitage <[email protected]>
  Date:   2016-05-04 (Wed, 04 May 2016)

  Changed paths:
    M keepalived/core/global_parser.c

  Log Message:
  -----------
  Allow '-' characters in smtp_server hostname

inet_stosockaddr() terminates the address string passed at the first
'-' or '/' character. When domain_stosockaddr() is subsequently called,
the string has been terminated at the first '-', so any domain name
containing a '-' cannot be correctly parsed.

This resolves issue #309

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: c08657f8f1b18d382d8ae904d6a13e963d8f9565
      https://github.com/acassen/keepalived/commit/c08657f8f1b18d382d8ae904d6a13e963d8f9565
  Author: Alexandre Cassen <[email protected]>
  Date:   2016-05-04 (Wed, 04 May 2016)

  Changed paths:
    M keepalived/core/global_parser.c

  Log Message:
  -----------
  Merge pull request #312 from pqarmitage/fixes

Allow smtp_server domain names with '-' characters to be parsed correctly


Compare: https://github.com/acassen/keepalived/compare/b093d7972dc0...c08657f8f1b1

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.