[Bug 1672276] Re: ebtables-restore error "Bad table name 'filter'"

Andreas Hasenack andreas at canonical.com
Mon Apr 30 20:00:09 UTC 2018


Some sort of initialization is missing:

96      struct ebt_u_table *ebt_find_table(const char *name)
97      {
98              struct ebt_u_table *t = ebt_tables;
99
100             while (t && strcmp(t->name, name)) {
101                     printf("t->name: %s name: %s", t->name, name);
(gdb) n
98              struct ebt_u_table *t = ebt_tables;
(gdb) n
100             while (t && strcmp(t->name, name)) {
(gdb) p t
$1 = (struct ebt_u_table *) 0x0
(gdb) p name
$2 = 0x602100 <replace> "filter"
(gdb) p ebt_tables
$3 = (struct ebt_u_table *) 0x0

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1672276

Title:
  ebtables-restore error "Bad table name 'filter'"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ebtables/+bug/1672276/+subscriptions



More information about the Ubuntu-server-bugs mailing list