ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/vpn.C
(Generate patch)

Comparing gvpe/src/vpn.C (file contents):
Revision 1.65 by root, Tue Jul 16 16:44:37 2013 UTC vs.
Revision 1.66 by root, Thu Jul 18 13:35:16 2013 UTC

113inline const char * 113inline const char *
114vpn::script_if_up () 114vpn::script_if_up ()
115{ 115{
116 script_init_env (); 116 script_init_env ();
117 117
118 char *filename; 118 return conf.config_filename (::conf.script_if_up, "if-up");
119 asprintf (&filename,
120 "%s/%s",
121 confbase,
122 ::conf.script_if_up ? ::conf.script_if_up : "if-up");
123
124 return filename;
125} 119}
126 120
127int 121int
128vpn::setup_socket (u8 prot, int family, int type, int proto) 122vpn::setup_socket (u8 prot, int family, int type, int proto)
129{ 123{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines