/[pengfork]/pengfork/src/iptunnel/dns.c
ViewVC logotype

Diff of /pengfork/src/iptunnel/dns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by chupa, Sun Dec 1 01:19:07 2002 UTC revision 1.4 by chupa, Thu Dec 5 00:12:16 2002 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2002  Jean-Charles Salzeber <jc@varspool.net>   * Copyright (C) 2002  Jean-Charles Salzeber <jc@varspool.net>
3   *   *
4   * This file is part of pengfork.   * This file is part of penggy.
5   *   *
6   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
7   * modify it under the terms of the GNU General Public License   * modify it under the terms of the GNU General Public License
# Line 63  set_dns (domain, dns) Line 63  set_dns (domain, dns)
63    f = fopen ("/etc/resolv.conf", "w");    f = fopen ("/etc/resolv.conf", "w");
64    if (f != NULL)    if (f != NULL)
65      {      {
66        fprintf (f, "# This file has been automaticly generated by pengfork\n");        fprintf (f, "# This file has been automaticly generated by penggy\n");
67        fprintf (f, "# A backup of your old configuration has been made in"        fprintf (f, "# A backup of your old configuration has been made in"
68                 " /etc/resolv.peng\n");                 " /etc/resolv.peng\n");
69        fprintf (f, "# It will be restored when connection is down\n\n");        fprintf (f, "# It will be restored when connection is down\n\n");

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26