[olsr-dev] calling iptables within C code

Bernd Petrovitsch (spam-protected)
Thu Aug 24 21:51:55 CEST 2006


On Thu, 2006-08-24 at 21:37 +0200, Holger Steudtner wrote:
[...]
> Is it possible to just call the iptables with the options in C code?
> 
> Does anyone have an idea?

Use system(3) (if you hardcode the line).

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services





More information about the Olsr-dev mailing list