diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-24 00:37:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-24 00:37:30 +0000 |
commit | 5a1dd0c605715b4324fdd08b8e1989aed8a94eb8 (patch) | |
tree | 2ca5fbbae5ba23bf0be25d6796875e0c56329a2f /rcfile_y.y | |
parent | c5c26b53354e99ec1cbb324e4ab6cec6aaff9e02 (diff) | |
download | fetchmail-5a1dd0c605715b4324fdd08b8e1989aed8a94eb8.tar.gz fetchmail-5a1dd0c605715b4324fdd08b8e1989aed8a94eb8.tar.bz2 fetchmail-5a1dd0c605715b4324fdd08b8e1989aed8a94eb8.zip |
Correct the interface parsing.
svn path=/trunk/; revision=818
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -116,7 +116,7 @@ serv_option : AKA alias_list | ENVELOPE STRING {current.server.envelope = xstrdup($2);} | INTERFACE STRING { #ifdef linux - current.server.interface = xstrdup($2); + interface_parse($2, ¤t.server); #else fprintf(stderr, "fetchmail: interface option is only supported under Linux\n"); #endif /* linux */ @@ -337,6 +337,7 @@ static void prc_register(void) #ifdef linux FLAG_FORCE(server.interface); FLAG_FORCE(server.monitor); + FLAG_FORCE(server.interface_pair); #endif /* linux */ FLAG_FORCE(remotename); @@ -377,6 +378,7 @@ void optmerge(struct query *h2, struct query *h1) #ifdef linux FLAG_MERGE(server.interface); FLAG_MERGE(server.monitor); + FLAG_MERGE(server.interface_pair); #endif /* linux */ FLAG_MERGE(remotename); |