Interface profiles
Brought to you by:
suzsuz
Sometimes a user cannot know what his interface name is going to be (dynamic PPP interfaces names...). One should not have to put a template for every possible interface name in dhcp6c.conf. Here is a patch I prepared allowing people to define interface profiles: if an interface statement is available then it is used, otherwise the profile passed on the command line to dhcp6c is used. A profile statement is exactly the same thing as an interface statement except it is declared using the profile profile_name { ... }; syntax and it is not bound to a specific interface.
dhcp6c interface profiles patch