Hi,

In the manual pages of the rtadvd command it is mentioned that 

  "If there is no configuration file entry for an interface, or if the
configuration file does not exist altogether, rtadvd sets all the parameters
to their default values.  In particular, rtadvd reads all the interface routes
from the routing table and advertises them as on-link prefixes."

 I found that the getconfig() in the config.c module initializes one rainfo
structure for a perticular interface given with the command & links it to the
global rainfo structure array.


The getconfig() checks for the configuration file to use. If the user has
specified a configuration file through the -c option in the rtadvd command
then he uses that one else he uses the default "/etc/rtadvd.conf". 

My doubt is this.
Assume that i have not called rtadvd with -c option nor i have a file called
"rtadvd.conf" in the "/etc" directory.
   a)How are this rainfo structure getting initialized? (I mean which     
function is doing it).

   b)Whether any other module other than getconfig() initializes rainfo       
 structures & puts it to the list.
    

Kindly reply.
regards
ravi prasad



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to